Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X, 7.1.X, Master
-
7.2.x, 7.1.x, 7.0.x
-
Committed
-
3
Description
Steps to reproduce:
1. Log in as admin and create four users A, B, C and D.
2. Give Portal Content Reviewer built-in regular role to users A and B.
3. Enable the built-in Single Approver workflow for web contents in the default site (Liferay DXP).
4. Create a web content and submit it for publication.
5. Go to My Workflow Tasks/Assigned to My Role and choose "Assign To..." for the task.
Checkpoint: In the popup, the drop-down selection box lists users A and B. This is correct.
6. Go to Control Panel/Users and deactivate user B.
7. Go to My Workflow Tasks/Assigned to My Role and choose "Assign To..." for the task.
Checkpoint: In the popup, the drop-down selection box now only lists user A (because B is inactive). This is correct.
8. Add users C and D to the site Liferay DXP, and also give them both the Site Content Reviewer built-in site role.
9. Go to My Workflow Tasks/Assigned to My Role and choose "Assign To..." for the task.
Checkpoint: In the popup, the drop-down selection box lists users A, C and D. This is correct.
10. Go to Control Panel/Users and deactivate user D.
11. Go to My Workflow Tasks/Assigned to My Role and choose "Assign To..." for the task.
Result: In the popup, the drop-down selection box still lists users A, C and D.
Expected: It should list only users A and C (but not D anymore, because D has been deactivated. Just like at the checkpoint after step 7.) In customer's own words:
the expected behaviour is that just like with the regular roles, when the list with assignees is shown it contains only active users.