Ticket #1875 (new enhancement)

Opened 2 years ago

Last modified 1 year ago

Allow workflow comments for creation

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

Description (Last modified by madarche)

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 (0.8 kB) - added by gracinet on 01/02/08 00:04:42.
Patch for CPSWorkflow
cpsdoc.patch (3.4 kB) - added by gracinet on 01/02/08 00:05:27.
Patch for CPSDocument

Change History

01/02/08 00:04:42 changed by gracinet

  • attachment cpswf.patch added.

Patch for CPSWorkflow

01/02/08 00:05:27 changed by gracinet

  • attachment cpsdoc.patch added.

Patch for CPSDocument

01/02/08 10:13:02 changed by madarche

Yes, please check this in ! Thanks.

01/28/08 12:45:51 changed by madarche

  • description changed.