Type: Feature Request
Affects Version/s: 6.1.20 EE GA2, 6.1.30 EE GA3
Fix Version/s: 6.1.20 EE GA2
Environment:LIFERAY VERSION: 6.1 GA 2
OPERATING SYSTEM: Linux
APPLICATION SERVER: Tomcat 7.0.x
JAVA VIRTUAL MACHINE: N/A
DATABASE: Oracle 11g
Request to implement a change to our WSRP and change our character limit from 255 to 4096 in our virtualhost filter for friendly URLs.
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.
We should have it changed to 4k.
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