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: Closed
    • Resolution: Inactive
    • 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

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            pierpaolo.ramon Pier Paolo Ramon
            Participants of an Issue:
            Recent user:
            Nóra Szél
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              36 weeks, 4 days ago

                Packages

                Version Package