Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-30649

Increasing WSRP length from 255 characters to 4096

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 6.1.20 EE GA2, 6.1.30 EE GA3
    • Fix Version/s: 6.1.20 EE GA2
    • Labels:
      None
    • Environment:
      LIFERAY VERSION: 6.1 GA 2
      OPERATING SYSTEM: Linux
      APPLICATION SERVER: Tomcat 7.0.x
      JAVA VIRTUAL MACHINE: N/A
      DATABASE: Oracle 11g

      Description

      Information
      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                arthur.hsiao Arthur Hsiao (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  6.1.20 EE GA2