Ticket #1875 (new enhancement)

Opened 11 years ago

Last modified 11 years ago

Allow workflow comments for creation

Reported by: gracinet Owned by: madarche
Priority: P2 Milestone: CPS 3.5.7
Component: CPSDocument Version: TRUNK
Severity: normal Keywords: comment creation workflow
Cc:

Description (last modified by madarche) (diff)

This ticket is related to #772.

For sites with creation notifications, the comments part of the email is otherwise empty, and users might want to actually fill it.

I have a working patch relying on the "comment behaviour" system. For the record, this system has been designed precisely to control whether (and how) to display the comments field according to some transition. In case of a creation, I check "create_content" on the container, and added BBB code so that the default answer is not to display.

So the user has to put, e.g, <comment-behaviour>string:display</comment-behaviour> in the xml description of the create_content transition for the target containers to make it work.

May I check this in ?

Attachments

cpswf.patch Download (784 bytes) - added by gracinet 11 years ago.
Patch for CPSWorkflow
cpsdoc.patch Download (3.4 KB) - added by gracinet 11 years ago.
Patch for CPSDocument

Change History

Changed 11 years ago by gracinet

Patch for CPSWorkflow

Changed 11 years ago by gracinet

Patch for CPSDocument

comment:1 Changed 11 years ago by madarche

Yes, please check this in ! Thanks.

comment:2 Changed 11 years ago by madarche

  • Description modified (diff)
Note: See TracTickets for help on using tickets.