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

Getting layouts from LayoutLocalServiceUtil calls a remote service and throws a PrincipalException

    Details

      Description

      Calling LayoutLocalServiceUtil.getLayouts(long, boolean, long) merges pages if there is a Site Template associated with it.

      During the export of pages in the Site Template, it calls a remote service for AssetCategory and AssetTags which will cause a PrincipalException if you're not authenticated and have permissions. This causes problems when the code that is running does not originate from a user request.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.saechang Michael Saechang
              Reporter:
              ryan.park Ryan Park
              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, 13 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2