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

Permit nested requests on service calls that return lists

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 6.2.0 CE GA1, 6.2.10 EE GA1
    • Fix Version/s: None
    • Labels:
      None

      Description

      The following request will not work as expected:

      {
        "$site = /group/get-user-sites": {
          "$categoriesCount = /mbcategory/get-categories-count": {
            "@groupId": "$site.groupId",
            "parentCategoryId": 0
          }
        }
      }
      

      Instead of executing get-categories-count with different {{groupId}}s, the result will always be like if it was called on the last site. (Could be the first, I do not remember, doesn’t matter that much).

      A full resolution of this should also correctly support deep nested requests.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Days since last comment:
                5 years, 44 weeks, 1 day ago

                Packages

                Version Package