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

Sitemap results in "Resource not found" when display page is a private page

    Details

      Description

      Steps to reproduce:

      1. Only for 7.0.x and master: configure xml.sitemap.index.enabled=false in portal-ext.properties (added in LPS-73438)
      2. Create a site with a public and a private page
      3. Add a asset publisher to private page and configure it as default asset publisher of page
      4. Add a basic web content
      5. Set the display page of the web content to be a private page
      6. Preview the sitemap of private pages: sitemap.xml of private pages is served
      7. Preview the sitemap of public pages:
        • Expected results: sitemap.xml of public pages is served
        • Actual results: Resource not found error

      Note: preview functionality of sitemap was moved in 7.0.x:

      • 6.2.x: it is located in site administration => configuration => site settings => sitemap
      • 7.0.x/master: it is located in site menu => navigation => public pages / private pages => kebab menu => configure => advanced => site map

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 35 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP31
                  7.0.5 CE GA6
                  7.0.X
                  7.1.X
                  Master