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

An user cannot edit some content if the author of the content was deleted

    Details

      Description

      Steps to reproduce

      1. Create an user A with administrator privileges
      2. Create an user B with administrator privileges
      3. Create a web content structure with the user A
      4. Log off the user A
      5. Log in the user B
      6. Delete user A
      7. Try to edit the structure created by user A

      Expected behavior

      User B can edit the structure

      Actual behavior

      User B cannot edit the structure. A stack trace with "no user exists with the primary key" is thrown if com.liferay.portal.kernel.portlet.LiferayPortlet is set to DEBUG at least.

      Reproduced on

      7.0.x 6b2158ca9377ddb67c6671fa6cca6abbb5693215
      master 2ff6d9da8d12e8c99c79bd410973043e8353e0b9

      Additional notes

      It also affects Blogs and Message Boards.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 44 weeks ago

                Packages

                Version Package
                7.0.0 DXP FP39
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                7.1.0 M1
                7.1.X
                Master