-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, Master
-
Fix Version/s: 7.0.0 DXP FP85, 7.0.10.12 DXP SP12, 7.0.X, 7.1.10 DXP FP13, 7.1.X, 7.2.10 DXP FP1, 7.2.X, 7.2.1 CE GA2, 7.3.10 DXP GA1, Master
-
Component/s: Workflow
-
Branch Version/s:7.2.x, 7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
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.