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

Request Entity Too Large when adding multiple users

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1
    • Component/s: User Management
    • Labels:
      None
    • Environment:
      Liferay 6.0.5, Apache Tomcat 6.0.26
    • Branch Version/s:
      6.0.x

      Description

      Test scenario:
      1. Add a user and save the user
      2. Click 'Add user' to directly add another user subsequent
      3. Repeat steps 1 and 2 several times.

      The URL is growing by each added user. Is this growing URL really needed? When trying to add the 7th user I get a 413 Error:

      413 Receiving error
      Request Entity Too Large
      The requested resource
      /de/group/control_panel/manage
      does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit.

      The URL is 3984 characters large at that time. According to the specification Apache should allow 8k characters, but some tests seem to show that it already throws an error at ~4k characters.

      Sources:
      http://www.boutell.com/newfaq/misc/urllength.html
      http://stackoverflow.com/questions/654921/how-big-can-a-user-agent-string-get
      http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestfieldsize

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                bastian.ohmer Bastian Ohmer (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  --Sprint 12/11
                  6.1.0 CE RC1