Details
-
Bug
-
Resolution: Fixed
-
High
-
5.0, 5.1, 5.2, 5.3-dev
Description
If you remove an user assigned as approver to an approve workflow you won't be able to edit the workflow.
I used approve workflow as example, but I believe this will happen for any workflow with directly assigned users (not user groups).
STEPS TO REPRODUCE
- Create a user "user_001"
- Create an "Event\Approve" workflow
- Add "user_001" to "Users who approve content", along with some other user
- Save the workflow
- Remove "user_001"
- Try to edit the workflow
You will see an error saying the workflow is blocked to edit
The same problem happens for groups. Make sure to also test removing a group and a user at the same time, since it triggers a tricky side effect if they are fixed individually ( they are blocking each other's deletion).
Attachments
Issue Links
- relates to
-
EZP-22373 Update documentation to emphasize the dangers of removing users
- Closed
-
EZP-10476 Workflow event bug appears after user's removal.
- Closed
-
EZP-15731 Removed ezUser still linked in Workflow
- Closed
- testing discovered
-
EZP-22422 Under certain circumstances, it's possible to create approval workflow without approval users/groups
- Confirmed
- links to