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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 48 weeks, 5 days ago

                  Packages

                  Version Package
                  6.1.2 CE GA3
                  6.1.30 EE GA3
                  6.2.0 CE M3