Configure the visibility of comment, assignee and deadline
The workflow bundle offers the fields Status, Comment, Assignee and Deadline when editing a content item.
Some clients don't use the comment, assignee and/or deadline fields.
In some statuses the comment, assignee and/or deadline fields are useless (for example a Published article will not have a deadline).
In some statuses the comment, assignee and/or deadline fields should be mandatory (for example to force an assignee for a draft article).
We want to make the fields configurable per status (as in the wireframe). For each status you can choose (for each field):
Optional --> the field will be available when the content has this state. (in the current situation it is always like this)
Required --> the field will be available when the content has this state, when saving the field is required to fill in (for the Assingee field this means that "Not assigned" is not allowed).
Disabled --> the field is not visible in this state
Note: when changing the status (click on a radio with a new status) the fields have to change dynamically and the "required" should be based on the new status.
Tested it, still don´t seem to work. Testing in an customer 0.5 environment. See attachments. if you have an environment where this will work, I would like to hear.
This issue is 'In progress' and Unassigned and is therefore pending since 1st April
True, I experience the same in another environment. Also when I set the deadline field to 'required', it is not required.
When opening an article it seems the settings from the wrong status are used. Example:
http://integrated-370-test.e-activesites.nl/app_dev.php/admin/content/286473c945c63754aacc63ff258bd566 (login: test / test)
This article has status Published. Comment and deadline are visible, but they shouldn't according to the workflow settings. It looks like the settings for Unpublished are applied here.