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

Convert returned links into public links

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.3
    • Component/s: None
    • Labels:
    • Release notes required:
      Yes
    • Documentation update required:
      Yes
    • Sprint:
      UI FW 7, UI FW 8, Maintenance 27
    • Story Points:
      2

      Description

      When retrieving content from RichTextField through a REST request links are returned with the form:

      <a href=\"${link:{uuid:{090eb9c4-b35b-4869-a12f-6ea80292cba4},repository:{dam},path:{/tours/paris_eiffel_Louis-Pellissier_IMG_8643.jpg}}}\">paris_eiffel_Louis-Pellissier_IMG_8643.jpg</a> 

      This won't be desirable in many cases and thus there should be a way to have them in the form:

      http://localhost:8080/.../paris_eiffel_Louis-Pellissier_IMG_8643.jpg

       

      Acceptance Criteria:

      • Should support any JCR item (such as other pages, content items, DAM)
      • For DAM should also support rendering variations, unless this introduced too much complexity in which case it could be postponed in another ticket.

       

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sang.ngo Sang Ngo Huu
                Reporter:
                jayala Jonathan Ayala
                Votes:
                3 Vote for this issue
                Watchers:
                10 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                    Checklists

                    DoD

                      Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 3d 7.5h
                      3d 7.5h