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

Cannot remove last pages from the system site (Liferay)

    Details

    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1.1 PUBLIC PAGE:
      1) Start Liferay bundle
      2) Go to Control Panel
      3) Go to Sites
      4) On the "Liferay" Site, click in "Actions" and then "Manage Pages"
      5) Try to remove de "Welcome" page
      6) See the error "You must have at least one page."

      1.2 PUBLIC PAGE:
      1) Start Liferay bundle
      2) Go to Control Panel
      3) Go to Sites
      4) On the "Liferay" Site, click in "Actions" and then "Manage Pages"
      5) Create a new Public Page named NewPublicPage
      6) Try to remove the "Welcome" page
      7) See the message: "Your request completed successfully."
      8) Now try to remove "NewPublicPage"
      9) See the error: "You must have at least one page."

      2. PRIVATE PAGE:
      1) Start Liferay bundle
      2) Go to Control Panel
      3) Go to Sites
      4) On the "Liferay" Site, click in "Actions" and then "Manage Pages"
      5) Go to Private Pages
      6) Create a new Private Paged named NewPrivatePage
      7) Try to remove "NewPrivatePage"
      8) See the error: "You must have at least one page."

      Note 1: On Liferay 6.1.10 EE GA1 it is possible to remove the last Public or Private Page without the error "You must have at least one page", when we try to access the home page after that, it just says that the page doesn't exist. This seems to be the normal behavior.

      Note 2: If this is an expected behavior, it seems that there's an inconsistency with private pages, it should start with a Private home page already (Like the Welcome Public Page) or just permit the user to remove the one they create.

        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:
                  6 years, 25 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.0 M3