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

Liferay 7 won't load sites or organizations if the row count is high enough

    Details

      Description

      When I have a large enough set of orgs (in my case 852,346) Clicking sites or Users and Orgs then the Orgs tab totally locks the system up.

      When I changed this code:

          for (long classNameId : classNameIds) {
                  groups.addAll(groupPersistence.findByC_C(companyId, classNameId));
              }
      

      to

       for (long classNameId : classNameIds) {
                  groups.addAll(groupPersistence.findByC_C(companyId, classNameId 0, 100));
              }
      

      Which is obviously artifically low, it works fine. This change was made in GroupLocalServiceImpl,

      protected Collection<Group> doSearch(
      long companyId, long[] classNameIds, long parentGroupId, String[] names,
      String[] descriptions, LinkedHashMap<String, Object> params,
      boolean andOperator)

      Please see attached stack traces for details as to where it dies, these are 60 traces over a minute.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael.han Michael Han
                Reporter:
                brett.swaim Brett Swaim
                Participants of an Issue:
                Recent user:
                Jason Pince
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 37 weeks ago

                  Packages

                  Version Package