-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.10 EE GA1, 7.0.0 M3
-
Fix Version/s: 6.2.2 CE GA3 , 6.2.X EE, 7.0.0 M1
-
Component/s: Legacy Components, Legacy Components > Administration UI
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Story Points:11
-
Git Pull Request:
DESCRIPTION
We have a site for which virtual host is set to a domain name, but if the site is accessed from a different domain name other than the domain name set in the virtual host, the rendered page form links and a href links point to the virtual host domain instead of the domain being accessed.
Additionally, this seems to only occur after platform-15+ is installed. The client was on Platform-18. After uninstalling this, the portal behaved the way he wanted, i.e. links were pointing to the domain being accessed instead of the virtual host.
I tested all the way from platform-2 to platform-14, platform 15, 18, and 21, and the issue didn't appear until after platform-15.
STEPS TO REPRODUCE
1. Set a virtual host for a liferay site (i.e. test.com)
2. Add a forms portlet to the homepage
3. Access the site through a different url (i.e. test2.com:8080)
4. Check the URL when hovering over the link for configuration in the configuration menu for the forms portlet.
EXPECTED RESULTS
URLs should show test2.com instead of test.com
ACTUAL RESULTS
URL shows test.com instead of test2.com
BRANCH
Reproduced in 6.2.x
commit 46b20d72c299b6c641fbd7cac5f0e560a3ec1d2a
MASTER
Reproduced
commit 5c9ee5492631e2b578d125d4b15322f16c273885
- is caused by
-
LPS-42569 Friendly URL does not match its page name after the available language is removed.
- Closed
- is duplicated by
-
LPS-48043 Domain in the request is not preserved after login
- Closed
- is related to
-
LPE-12585 URLs for links on portlets are pointing to the virtual host instead of the url the portal is being accessed through
-
- Closed
-