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

Deep Nested fields are broken when path parameters are overlapping

    Details

      Description

      In Commerce we are moving away from hardcoded nested field retrieval. One of our use cases is to retrieve the shipping address of a specific order item starting from the parent order entity

      Steps to reproduce:

      • Have an entity with deep nested fields: ie Order -> OrderItems -> shippingAddress
      • Invoke a rest call with nestedField parameter set to retrieve all nested fields: nestedFields=orderItems,orderItems.shippingAddress

      Expected Result:

      All deep nested fields are retrieved.

      Actual Result:

      Request fails complaining that can't find an orderItem for a given id. The id is actually the parent order id.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              javier.dearcos Javier de Arcos Velilla
              Reporter:
              riccardo.ferrari Riccardo Ferrari
              Participants of an Issue:
              Recent user:
              Yunlin "Steven" Sun
              Engineering Assignee:
              Riccardo Ferrari
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                18 weeks, 1 day ago

                  Packages

                  Version Package
                  7.1.10 DXP FP22
                  7.1.X
                  7.2.10 DXP FP11
                  7.2.10.3 DXP SP4
                  7.2.X
                  7.3.X
                  7.3.10 DXP FP1
                  7.3.10.1 DXP SP1
                  7.3.6 CE GA7
                  Master