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

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.

Activity

Show:

Michael SaechangMay 8, 2012 at 2:42 PM
Edited

Committed on:
Portal 6.1.x CE GIT ID: 27761c0e4543ff1d9bdc05cc9807b387b5c1a131.
Portal 6.2.x GIT ID: 2d0f9561a8c99e213a9474b7b3c222513b14b3a0.

Fixed

Details

Assignee

Reporter

Branch Version/s

6.1.x

Backported to Branch

Committed

Git Pull Request

Components

Priority

Zendesk Support

Created May 4, 2012 at 4:27 PM
Updated June 24, 2023 at 3:51 PM
Resolved May 4, 2012 at 5:04 PM
Loading...