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

Calling portal services during Kaleo actions causes PrincipalException: PermissionChecker not initialized

    Details

    • Branch Version/s:
      6.1.x, 6.0.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      3

      Description

      Steps to reproduce the problem:
      1. Go to 'Control Panel' -> 'Custom Fields' and create a custom field for Web Contents
      2. Install Kaleo Web plugin.
      3. Go to 'Control Panel' -> 'Workflow Configuration' and change workflow configuration of the 'Web Content' to any workflow (for example 'Single Approver')
      4. Create or Edit a 'Web Content' and set value for the custom field.
      5. After setting the data for the web content, click on 'Submit for Publication' button.
      6. Switch to user who has permissions to approve.
      7. Go to 'Control Panel' -> 'My Workflow Tasks'
      8. For the task of reviewing the newly submitted web content click on 'Actions' -> 'Assign to Me', 'Actions' -> 'Approve'.
      Result: The web content got approved, but the log shows the following exception:
      ERROR [ExpandoBridgeImpl:507] com.liferay.portal.security.auth.PrincipalException: PermissionChecker not initialized

        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:
                  4 years, 47 weeks ago