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

Optimize WorkflowTaskDisplayContext.hasOtherAssignees

    Details

      Description

      Steps to Reproduce

      1. Start up Liferay on a fresh database and log in as the admin user.
      2. Run the attached addUserWith10000Roles groovy script.
      3. Go to Control Panel > Configuration > Workflow Definition and upload the attached custom_workflow.xml definition.
      4. Assign the admin user one of the "Test Roles" that was generated by the script in step 2.
      5. Go to Liferay > Configuration > Worfklow Configuration.
      6. Set Blogs Entry to have the Custom Workflow Definition.
      7. Add a Blogs portlet to the main page and submit a Blogs Entry for publication.
      8. Navigate to My Workflow Tasks.
      9. Click on the "Assigned to My Roles" tab.

      Expected results: The page would load within a few seconds.
      Actual results: The page takes several minutes to load.

        Attachments

        1. addUserWith10000Roles.groovy
          2 kB
          Michael Bowerman
        2. custom_workflow.xml
          901 kB
          Michael Bowerman
        3. Fixed.gif
          527 kB
          Harry Chai

          Activity

            People

            Assignee:
            harry.chai Harry Chai
            Reporter:
            michael.bowerman Michael Bowerman (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, 38 weeks, 2 days ago

                Packages

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