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

Pages of type "Link to another page in the current site" does not work as expected

    Details

      Description

      Pages of type "Link to another page in the current site" does not work as expected:They will return the content of link destination instead return a 302 Redirect.

      Steps to Reproduce

      1. Open a liferay site
      2. Add a page called "page1" of type: "2 Columns (30/70)"
      3. Add a page called "page2" of type: "Link to a Page of This Site" and link to previous "page1"
      4. Add a page called "page3" of type: "Link to a Page of This Site" and link to previous "page2"
      5. Open "page2":
        1. Expected behaviour: The request is redirected to page1:
          1. At navigator URL changes from page2 to page1
          2. With developer tools you can see that page2 returns a 302 Redirect to page1
        2. Actual behaviour: page2 returns the content of page1:
          1. The navigator URL remains at page2 without changing to page1
          2. With developer tools you can see that no 302 Redirect is return
      6. Open "page3":
        1. Expected behaviour: The request is redirected to page2 and after is redirected again to page1:
          1. At navigator URL changes from page3 to page2 and after to page1
          2. With developer tools you can see that page3 returns a 302 Redirect to page2 and page2 returns a 302 Redirect to page1
        2. Actual behaviour: A error page generated by navigator is shown
          1. The navigator URL remains at page3, showing a error page with "Content Encoding Error" message (Firefox) or "This webpage is not available" ERR_CONTENT_DECODING_FAILED (Chrome)
          2. With developer tools you can see that a 404 Not Found is return with no content

        Attachments

        1. fixed.png
          fixed.png
          71 kB
        2. fixed1.png
          fixed1.png
          74 kB
        3. reproduced.png
          reproduced.png
          34 kB
        4. reproduced1.png
          reproduced1.png
          110 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 1 week, 4 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M2