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

PermissionLocalServiceImpl.hasRolePermission(long, long, String, int, String) is using too many queries

    Details

    • Branch Version/s:
      6.0.x, 5.2.x, 5.1.x
    • Backported to Branch:
      Committed

      Description

      List<Resource> resources = resourcePersistence.findByCodeId(resourceCode.getCodeId()); can return thousands of resources and we run one query per resource now.

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              zsolt.balogh Zsolt Balogh
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 37 weeks, 5 days ago

                Packages

                Version Package
                6.0.5 GA
                --Sprint - SP
                6.1.0 CE RC1