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

Service-Builder classes it not working with PACL enabled

    Details

      Description

      We created portlet used service builder. Then we enable PACL - we got followed error:

      19:50:40,395 WARN [http-bio-8080-exec-41][RuntimeChecker:256] Attempted to access declared members
      19:50:40,397 WARN [http-bio-8080-exec-41][ReferenceRegistry:42] Not allowed to get field _service for class ru.emdev.timetracking.service.TimeTrackingEntryLocalServiceUtil

      TimeTrackingEntryLocalServiceUtil - is our Util singleton generated for local service.

      I've tried to add this class into security-manager-get-bean-property= or into services like:
      security-manager-services[timetracking-portlet]=\
      ru.emdev.timetracking.service.TimeTrackingEntryLocalService

      Nothing helped to avoid this problem.
      Is security really required to be configured for own services from own portlet?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              koor.gai Koor Gai
              Reporter:
              akakunin Alexey Kakunin
              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:
                7 years, 50 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.2 CE GA3
                  6.1.30 EE GA3
                  6.2.0 CE M3