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

Error 414 occurs on adding many items to an Asset Publisher's scope

    Details

      Description

      Description:
      When an Asset Publisher has been scope to many sites (around 500), the selectedGroupIds parameter fills up the URL, which results in a limit somewhere in the 500 site range for one Asset publisher because the URL is too long to add additional sites to the scope.

      Steps to Reproduce:
      1. Use the attached groovy script to create an asset publisher with 500 sites scoped to it.
      2. Navigate to the site created by the script. ('Test Site 1' by default.)
      3. Attempt to add another site to the Asset Publisher's scope.
      4. When click select to add "Other site.."make sure that only appears in the list sites that are not selected.

      Expected:
      There is no limit on the amount of sites that one asset publisher can be scoped to.
      Actual:
      Because the selectGroupIds parameter continues to add IDs to the URL, HTTP errors will eventually be returned.

      Reproduce:
      Master: 2069f413fb0f4a557d91fa9476125f49314febf9
      ee-7.0.x: 584940589d4e05ef47f5127437d63ab1de3f0cb3
      6.2.x: 4bebc02650126eeed1f350347baece46e22189e0

        Attachments

        There are no Sub-Tasks for this issue.

          Activity

            People

            Assignee:
            steven.gao Steven Gao (Inactive)
            Reporter:
            inacio.nery Inácio Nery (Inactive)
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 22 weeks, 6 days ago

                Packages

                Version Package
                7.1.X
                Master