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

Warn users when deleting pages that are linked to, removing links if deleted

    Details

      Description

      Liferay provides a way to create a page of type link to another page. Also it's possible to add a page to a Navigation menu. In both cases if the page linked to is deleted, the admin should get a warning indicating that it's being referenced from another page or a menu (specifying which). If the admin still decides to delete the page, the references should be deleted as well.

      Currently the warning doesn't happen, and the references stop working. This behavior can be reproduced using the following steps:

      1. Create a new page
      2. Create another new page of type "Link to a Page of This Site"
      3. Link page to first created page
      4. Delete linked page
      5. Go to "Link to a Page of This Site" page

      **The first page is deleted and the link page is not found

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                brooke.dalton Brooke Dalton
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Packages

                  Version Package