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

Cannot delete private page of Guest Site

Details

    Description

      Steps to reproduce:

      1. Start a clean bundle.

      2. Go to Control Panel -> Site Pages -> Private Pages (make sure that the selected scope is the default Liferay Site)

      3. Create a new page

      4. Attempt to remove the page

      Result:
      The Portal won't remove the page and it displays the following error message: "You must have at least one page."

      Problems with the current functioning:
      1) If a Site has a private page, the contents created on it in the Control Panel will only have view permission for Site Members by default, instead of "Anyone (Guest)". This is intended, but problematic on the default Site because of this issue.

      2) It doesn't make sense to forbid the removal of a page that you have just created.

      3) When you receive the error the Portal goes back to the Public Pages tab, but still displays the Private pages, which is confusing.

      Expected:
      The Portal should check for Public Pages when you attempt to remove a Private one on a required system Site.

      Attachments

        Issue Links

          Activity

            People

              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              akos.thurzo Akos Thurzo (Inactive)
              Rafaela Nascimento Rafaela Nascimento
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8 years, 33 weeks, 5 days ago

                Packages

                  Version Package
                  6.1.X EE
                  6.2.3 CE GA4
                  6.2.X EE
                  7.0.0 M1