Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.0.X EE, 6.1.X EE, 6.2.0 CE M3
-
Component/s: Authentication
-
Branch Version/s:6.1.x, 6.0.x
-
Backported to Branch:Committed
-
Similar Issues:
Description
Reproduced in Trunk and 6.0.x rev. 128632
Steps to reproduce:
1. Set up Liferay with Open SSO
2. Add Asset Publisher to a page.
3. Through Asset Publisher add new Web Content.
4. After publishing, click Read More on Asset Publisher.
5. Copy the URL in the broswer.
6. Paste the URL in an e-mail and send.
7. Click the URL.
Results
1. If a user is already logged in, the URL will take the user to the full web content like the link below.
http://localhost:8080/web/guest/2/-/asset_publisher/6vmO/content/webcontent1?redirect=http%3A%2F%2Flocalhost%3A8080%2Fweb%2Fguest%2F2%3Fp_p_id%3D101_INSTANCE_6vmO%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-1%26p_p_col_count%3D1
2. If a user is not logged in, they are prompted to sign in through Open SSO. They are then redirected to the page housing the Asset Publihser, and not the full web content.
The link changes to this.
http://localhost:8080/web/guest/2?p_p_id=101_INSTANCE_6vmO&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1
The redirect works properly when Liferay is not set up with Open SSO. However, after Open SSO set up, the links change after sign in.

Committed on:
Portal 6.2.x GIT ID: b2ac76f83241e6cbdfa511c9ea843c31be207d6e.