-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.X EE, 6.2.X EE, 7.0.0 M3
-
Fix Version/s: 6.1.X EE, 6.2.2 CE GA3 , 6.2.X EE, 7.0.0 M2
-
Component/s: ~[Archived] WCM
-
Branch Version/s:6.2.x, 6.1.x
-
Backported to Branch:Committed
-
Story Points:10
-
Fix Priority:4
-
Git Pull Request:
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
- Open a liferay site
- Add a page called "page1" of type: "2 Columns (30/70)"
- Add a page called "page2" of type: "Link to a Page of This Site" and link to previous "page1"
- Add a page called "page3" of type: "Link to a Page of This Site" and link to previous "page2"
- Open "page2":
- Expected behaviour: The request is redirected to page1:
- At navigator URL changes from page2 to page1
- With developer tools you can see that page2 returns a 302 Redirect to page1
- Actual behaviour: page2 returns the content of page1:
- The navigator URL remains at page2 without changing to page1
- With developer tools you can see that no 302 Redirect is return
- Expected behaviour: The request is redirected to page1:
- Open "page3":
- Expected behaviour: The request is redirected to page2 and after is redirected again to page1:
- At navigator URL changes from page3 to page2 and after to page1
- With developer tools you can see that page3 returns a 302 Redirect to page2 and page2 returns a 302 Redirect to page1
- Actual behaviour: A error page generated by navigator is shown
- 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)
- With developer tools you can see that a 404 Not Found is return with no content
- Expected behaviour: The request is redirected to page2 and after is redirected again to page1: