Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X, 7.1.X, Master
-
7.1.x, 7.0.x
-
Committed
-
0.25
-
4
Description
Steps to reproduce Watch the attached video for assistance:
- Put these two lines in your hosts file:
"127.0.0.1 site1.example.com
127.0.0.1 site2.example.com" - Start a 7.0 DXP with de-59
- Go to Site Administration -> Control Panel -> Sites -> Sites
- Open Liferay site's options
- Add site1.example.com as a virtual host for the public pages, Save
- Create a new site called "Sample site"
- Add site2.example.com as a virtual host for the public pages, Save
- Create a new Page called "Home"
- Go to Home page's configuration, click the upper right corner menu and select Permissions
- Remove the View permission of the Guest user, Save
- Create a new Page called "Login"
- Put a Sign in portlet on it
- Log out
- Go to http://site2.example.com:8080'
- See you've got redirected to the login page of Sample site as expected
- Log in
- See you are on the Home page of Sample site
- Go to the Login page's configuration, make the page hidden (Hide from navigation menu ON , on master: Show in Public Pages Hierarchy Menu OFF), Save
- Log out
Expected behavior: You get redirected to the Sample site's Login page
Actual behavior: You get redirected to the default Liferay site's guest page
Also tested:
7.0.x @ commit (a1a0648aae1f06a0b8645674e628f3ccd300e9e7) reproduced
master @ commit (9a6d193475cafb3abd552a841a213b6dd5b435fe) reproduced
Attachments
Issue Links
- causes
-
LPS-91709 Hidden layouts are show in the navigation menu when trying to access to a non existing page
- Closed