Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.1.X EE, 6.2.0 CE M2
-
Component/s: WCM
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Similar Issues:
Description
Currently, if WSRP has a friendly URL that is over 255 characters, then the portlet will not do a "post" method correctly when using interportlet communications.
VirtualHostFilter - Line number 120 calling LayoutImpl.validateFriendlyURL(friendlyURL) and returning a code 10
which is com.liferay.portal.model.impl.LayoutImpl line number 80 causing this return code.
Because of the length of the URL .
The LayoutConstants.FRIENDLY_URL_MAX_LENGTH is causing lengthy URLs to break.
Steps to reproduce
1) Try to make the length of your friendly URL over 255 characters.
2) Consume a portlet.
3) Place the portlet on the page alongside another WSRP portlet and try an update on one WSRP portlet that will transfer information to another WSRP portlet.
This is still present in trunk and 6.1.X rev. 125845

This issue is happening only when you go through a virtual host with a friendly URL (ie; remove web/guest from the URL)
If web/guest is present in the URL, you wont be able to reproduce.