Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-97748

Assigning a workflow task - inactive Site Content Reviewer user included

    Details

      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.
      

        Attachments

          Activity

            People

            Assignee:
            randolph.do Randolph Do (Inactive)
            Reporter:
            istvan.dezsi Istvan Dezsi
            Participants of an Issue:
            Recent user:
            Joel Garman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 13 weeks, 4 days ago

                Packages

                Version Package
                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.1 CE GA2
                7.2.X
                7.3.10 DXP GA1
                Master