Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-5440

Fix actions in headless api to get the correct entity id

    Details

      Description

      Before the headless actions were returning a url template that was parsed by the caller.

      With the introduction of automatic template resolution the actions that are referring to entities that are not a resource (but require permission checking on their parent entity) are returning urls with incorrect id.

      We should adapt our implementation to support this usecase.

        Attachments

        1. Commerce5446_case1.mp4
          1012 kB
        2. commerce5446_case2.mp4
          6.67 MB
        3. commerce5446_case3.mp4
          9.32 MB
        4. commerce5487_case1.mp4
          2.09 MB
        5. Commerce5487_case2.mp4
          8.81 MB
        6. Commerce5487_case3.mp4
          10.96 MB

          Issue Links

            Activity

              People

              Assignee:
              brittney.nguyen Brittney Nguyen
              Reporter:
              riccardo.alberti Riccardo Alberti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4 CE GA1
                  Master
                  7.3.X
                  7.1.x