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

LayoutModelListener can't add SiteNavigationMenuItem if Layout's creator was deleted

    Details

      Description

      Reproduction Steps:

      1. Set up a portal with portal-ext.properties file: company.security.strangers.verify=false
      2. Go to Control Panel --> Users --> Users and Organizations and create a new User (User1)
      3. Add it to Liferay Site at "Memberships" and grant it the Administrator Role at the "Role"
      4. Logout and login with User1.
      5. Go to Site Builder --> Navigation Menus and create a new navigation menu "NAVM"
      6. Go to Site Builder --> Pages and add a widget Page "Page1" and check the box "Add This Page to NAVM".
      7. Logout and login with Test
      8. Delete User1 (go to Control Panel --> Users --> Users and Organizations find User1 and click the 3 dot menu beside it and click "Deactivate". Then click on "Filter and Order" and select "Inactive". Now you will see the deactivated User1, Click on the 3 dot menu beside it and "Delete".)
      9. Remove Page1 from the created navigation menu (Site Builder --> Navigation Menus, click on NAVM and remove Page1 from it by clicking the "x".)
      10. Go to Site Builder --> Pages. Find Page1 and click the 3 dot menu beside it, select "Configure"
      11. Change the page name to Page2 and save.

      Actual Result: Page name is not changed with LayoutModelListener Exception in logs
      Expected Result: Page name should be changed successfully.

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            balazs.safrany-kovalik Balázs Sáfrány-Kovalik
            Participants of an Issue:
            Recent user:
            Enterprise Release HU
            Engineering Assignee:
            Balázs Sáfrány-Kovalik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              13 weeks, 2 days ago

                Packages

                Version Package
                7.2.X
                7.3.X
                Master