Ticket #14193 (confirmed Bug)

Opened 22 months ago

Last modified 21 months ago

Content rule that change workflow state must handle effective date

Reported by: keul Owned by: thomasdesvenain
Priority: minor Milestone: 4.x
Component: Content Rules Version: 4.3
Keywords: Cc: keul

Description

I found that content rule that change workflow state has not the same behavior like manual change state of an item.

If I create a content, then change it's state, the effective date is set to the change state date.

If I configure a rule that publish an item then it's added to a folder, the effective date will be always empty.

Change History

comment:1 Changed 22 months ago by keul

  • Owner set to thomasdesvenain
  • Cc keul added
  • Component changed from Unknown to Content Rules

comment:2 Changed 21 months ago by thomasdesvenain

  • Status changed from new to confirmed

comment:3 Changed 21 months ago by thomasdesvenain

This is because date change is applied by content_status_modify script, wich is not good in my opinion

 https://github.com/plone/Products.CMFPlone/blob/master/Products/CMFPlone/skins/plone_form_scripts/content_status_modify.cpy#l33

comment:4 Changed 21 months ago by thomasdesvenain

I started a conversation about this on plone-developers list as this is not just about content rules

Note: See TracTickets for help on using tickets.