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

Making an ajaxable portlet with a sufficiently large form post will result in either an HTTP 400 or HTTP 414 error

    Details

      Description

      Description
      If a portlet contains a form with hundreds of fields and is ajaxable, the form post will result in either a HTTP 400 or HTTP 414 error. If you have Apache in front of tomcat, you will get an HTTP 414 error; if you just have tomcat you will get an HTTP 400 error.

      The end result should be that no matter how large my form, the portlet should still render properly after a submit.

      Steps to reproduce

      1. Startup Liferay and deploy the attached ajax-portlet-master.war
      2. Add the portlet to a page and submit the form
      3. The result is the error: "There was an unexpected error. Please refresh the current page."

      Expected Result: The form is submitted and the portlet is rendered properly.
      Actual Results: An error is thrown and the portlet is not rendered properly after the form is submitted.

      Master
      944a10a479992c29fe09744446d4a900303bbbf6

        Attachments

        1. ajax-portlet-master.war
          39 kB
        2. fix61570.61.png
          fix61570.61.png
          101 kB
        3. fix61570.gif
          fix61570.gif
          247 kB
        4. reproduce61570.png
          reproduce61570.png
          17 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 35 weeks, 3 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.X EE