Uploaded image for project: 'PUBLIC - Liferay Portal Web Content Experience'
  1. PUBLIC - Liferay Portal Web Content Experience
  2. WCM-1416

Audience Targeting | Many sites cause page slow load or failure when adding User Segment

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 2.x
    • Fix Version/s: 2.2.0
    • Component/s: Content Targeting
    • Labels:
      None

      Description

      Description

      Similar to https://issues.liferay.com/browse/WCM-1389 where we restrict the page load allowing pagination this should be done for the other user attributes for performance.  This ticket is focusing on Site Member and Site Roles.

      Steps to Reproduce

      1. Deploy Audience Targeting portlet
      2. Restart server (if needed)
      3. Go to Site > Configuration > Audience Targeting > and add a new User Segment.  Note load time.
      4. Create at least 4,000 sites.
      5. Create at least 4,000 site roles.
      6. Go to Site > Configuration > Audience Targeting > and add a new User Segment

      Expected Results: Page loads in the same speed.
      Actual Results: Page loads after a few seconds or minutes or sometimes buffer overflow.

       

        Attachments

        1. CreateSites.groovy
          1 kB
          Spencer Woo
        2. CreateSites.groovy
          1 kB
          Spencer Woo

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: