Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-310

Delivery endpoint API does not update the path for links in richTextFiled when assets are moved

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Medium
    • None
    • None
    • None

    Description

      Steps to reproduce

      1.  Start Magnolia
      2.  Upload asset via Assets App inside some folder e.g. test
      3. Create a new page with provided LM e.g. test
      4. In rich text filed link the asset
      5. Call endpoint for newly created page: http://localhost:8080/magnoliaAuthor/.rest/delivery/pages/test
      6. See that link in rich text is: <a href=\"${link:{uuid: {d784c4c4-c0cb-479b-a56b-ee2933b9657c}

        ,repository:

        {dam}

        ,path:

        {/test/Screenshot-2021-05-26-at-08.41.png}

        }}\">Screenshot-2021-05-26-at-08.41.png</a>
        So path is: /test/Screenshot-2021-05-26-at-08.41.png

      7. Go to Asset App and move the asset to different place
      8. Call again endpoint http://localhost:8080/magnoliaAuthor/.rest/delivery/pages/test
      9. Returned path in REST is still /test/Screenshot-2021-05-26-at-08.41.png

      Expected results

      The path returned in ${link...} should be updated to the new placement of the asset

      Actual results

      The old path is returned

      Workaround

      Development notes

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                oanh.thai Oanh Thai Hoang
                bstaryga Bartosz Staryga
                Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 0.25d
                      0.25d