Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22372

Workflow cannot be edited if you remove a user and/or a group

    XMLWordPrintable

Details

    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

      1. Create a user "user_001"
      2. Create an "Event\Approve" workflow
      3. Add "user_001" to "Users who approve content", along with some other user
      4. Save the workflow
      5. Remove "user_001"
      6. 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

        Activity

          People

            Unassigned Unassigned
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 6 hours
                1d 6h