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

Web Content Display gives 414 URI Request Error with numerous child sites

    Details

      Description

      Description:
      When we select Web Content for a Web Content Display the url parameter of selectedGroupIds (https://github.com/liferay/liferay-portal/blob/master/modules/apps/web-experience/journal/journal-content-web/src/main/resources/META-INF/resources/configuration.jsp#L69) attempts to gather groups to search for web content (children, grandchildren, etc). This parameter can very realistically exceed the maximum length for a GET HTTP request. We receive a 414 error and this prevents us from using the Web Content Display.

      Steps to reproduce:
      1. Start Liferay
      2. Add 450 Sites with the Liferay DXP as their parent site
      3. Add a Web Content Display to a page on Liferay DXP (the parent)
      4. Attempt to select a Web Content for the Web Content Display

      Expected Results: Selected a web content for the web content display
      Actual Results: HTTP Status 414 error, saying, "The server refused this request because the request URI was too long"

      Master

      Reproduced - 3a18eedeecc0ccadb56361bc1d5d80e157bf4695

      Branch

      Reproduced - 70877e17f231aa88f2bf9ba58faa0aca5f26fbc4

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 39 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP40
                  7.0.0 DXP SP7
                  7.0.5 CE GA6
                  7.0.X
                  7.1.0 M1
                  7.1.X
                  Master