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

Asset Publisher errors when displaying content from a deleted user

    Details

      Description

      Steps to reproduce

      1. Start a clean bundle of Liferay DXP 7.2 installed with dxp-3
      2. Go to Control Panel -> Users and Organizations -> Users and add a new user. Give the new user a password and assign it to the main site and give it the Site Administrator role.
      3. Log in as the new user and add an Asset Publisher to the page. In the Configuration menu, go to Display Settings, and enable "Set as the Default Asset Publisher for This Page"
      4. Add a new basic web content through the Asset Publisher. Verify that you can see it in the Asset Publisher and that you can view its contents
      5. Log back in as the regular Administrator and delete the user created earlier
      6. View the Asset Publisher on the main page and click on the content

      Expected Result:
      Content is displayed properly by the AP

      Actual Result:
      "No User exists with the primary key XXXXX" error appears in the logs. The AP also does not show the contents of the asset created in Step 4.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                20 weeks, 4 days ago

                Packages

                Version Package
                7.2.10 DXP FP6
                7.2.X
                Master