Configure the visibility of comment, assignee and deadline

Description

Current situation

The workflow bundle offers the fields Status, Comment, Assignee and Deadline when editing a content item.

Problem

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).

Solution

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.

Deployment actions

None

Technical tasks

None

Activity

Show:
Marcel
May 2, 2016, 10:11 AM

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.

Marcel
April 8, 2016, 9:37 AM

This issue is 'In progress' and Unassigned and is therefore pending since 1st April

Marcel
March 31, 2016, 11:39 AM

True, I experience the same in another environment. Also when I set the deadline field to 'required', it is not required.

Marijn Otte
February 19, 2016, 12:26 PM

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.

Fixed

Assignee

Unassigned

Client

Marijn Otte

Fix versions