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

MyWorkflowTasks creates additional modals every time a task assignment pop-up is generated

    Details

      Description

      Steps to Reproduce:

      1. Create 2 users and assign them the "Portal Content Reviewer" role.
      2. Go to Web Content in the Liferay DXP site and click on the "i" icon for Information of the default folder.
      3. Click on the dots, and click Edit on the folder. Then, set the workflow on the folder to "Single Approver".
      4. Create a web content and submit it for publication.
      5. Go to My Account -> My Workflow Tasks, and click on "Assigned to My roles"
      6. Click on "Assign to...". A dialog box will open up, allowing you to assign the task to different users.
      7. Open up your browser's developer tools and search for "modal-dialog modal" in the DOM (There should be one result, the dialog box itself)
      8. Close the dialog box.
      9. Search for "modal-dialog modal" in the DOM again.

      Expected Result:
      There are no modal-dialogs in the DOM while the dialog pop-up is closed.

      Actual Result:
      A new modal-dialog is created in the DOM every time the pop-up is created.

        Attachments

          Activity

            People

            Assignee:
            harry.chai Harry Chai
            Reporter:
            gregory.bretall Gregory Bretall (Inactive)
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 44 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP9
                7.0.0 DXP SP2
                7.0.3 CE GA4
                7.1.X
                Master