Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-9344

Update Public Documentation related to how [CDATA] urls are formed

    Details

    • Type of Documentation:
      User

      Description

      It is observed that there is a difference in the way URLs are formed between versions for example (DXP 7.0 and DXP 7.2). This is the previous implementation as used in DXP 7.0

      https://docs.liferay.com/ce/apps/web-experience/latest/javadocs/com/liferay/journal/service/JournalArticleLocalServiceUtil.html 

      (See: getArticle)

      DXP 7.0 url sample
      ----------------------------------------------
      CDATA has the direct path for the image

      [CDATA[/documents/20142/0/full+stack.png/107a4b4b-d60b-107a-fa01-a63740fa8fb9?t=1617775527673]]

       DXP 7.2 url sample
      ---------------------------------------------
      It is confirmed that CDATA has changed in form

      [CDATA[{"classPK":35222,"groupId":"20124","title":"full stack.png","type":"document","uuid":"d0955afa-4b60-8229-091e-f3df67cfc7ef"}]]

      Note: The data can be extracted to create a link to access the resource:

      http://localhost:8080/documents/20124/d0955afa-4b60-8229-091e-f3df67cfc7ef

      Requests
      1. Confirm if there is existing documentation on this change. (to date nothing has been found by Support)
      2. If there isn't please create an article to add to our public documentation.

        Attachments

          Activity

            People

            Assignee:
            james.garcia James Garcia
            Reporter:
            philip.chapman Philip Chapman
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package
                7.2.x