Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-76010

In Asset Publisher, the option "Show Full Content" in asset link behavior doesn't work for related asset links

    Details

      Description

      In Asset Publisher, the option "Show Full Content" in asset link behavior doesn't work for related asset links.

      Steps to reproduce

      1. Upload a document to document library called "document1.txt"
      2. Create a web content called "webcontent1"
      3. Link the created document as a related asset in web content
      4. Create two pages
      5. Add "documents and media" portlet to page 2
      6. Add a Asset Publisher to page 1
      7. Configure the Asset publisher with following configuration:
        Setup => Display Settings => Display Template => "Full Content"
      8. Asset publisher will display two assets: "document1.txt" and "webcontent1". Each asset will have a "related asset link"
      9. Click in "document1.txt" main link => The link it is displayed inside the Asset Publisher
      10. In webcontent1, click in the related asset link "document1.txt"
        • Expected behavior: Document is displayed inside the Asset Publusher (same behavior than "document1.txt" main link)
        • Wrong behavior: Document is displayed in page2, inside Documents and Media portlet
      11. Repeat same steps but configuring the Asset publisher with following configuration:
        Setup => Display Settings => Display Template => <Any template except "Full Content"> => Asset Link Behavior drop-down => Show Full Content
      12. Click in webcontent1 link => web content is displayed inside the asset publisher
      13. Click in the related asset link "document1.txt"
        • Expected behavior: Document is displayed inside the Asset Publusher (same behavior than "document1.txt" main link)
        • Wrong behavior: Document is displayed in page2, inside Documents and Media portlet

        Attachments

        1. Fixed.PNG
          Fixed.PNG
          39 kB
        2. Q.PNG
          Q.PNG
          32 kB
        3. Q2.PNG
          Q2.PNG
          55 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 35 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP33
                  7.0.0 DXP SP7
                  7.0.5 CE GA6
                  7.0.X
                  7.1.X
                  Master