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

              javier.dearcos Javier de Arcos Velilla
              riccardo.ferrari Riccardo Ferrari
              Kiyoshi Lee Kiyoshi Lee
              Riccardo Ferrari Riccardo Ferrari
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 41 weeks, 4 days ago

                Packages

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