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

Linked documents are published during staging despite not being changed between publications

    Details

      Description

      Description

      When a web content article with links to documents on the bundle is published the linked documents are also published. This occurs despite the linked documents not being changed or updated between publications. Additionally these documents do not appear when "From Last Publish Date" is selected.

      Steps to reproduce

      1. Start Liferay
      2. Upload two images to the Documents and Media page
      3. Create a Web Content article and link the two images using their uuid URL in two separate pieces of text
      4. Place the article onto a page using the Web Content Display portlet
      5. Set up Local Live staging and ensure that all assets are published over
      6. Perform a baseline publication after the initial publication is complete
      7. Confirm the contents that were published in the Summary tab. Ex: 2 documents, 1 web content
      8. Go to Control Panel - Publishing - Staging
      9. In the upper right ellipse menu click on Publish Templates
      10. Add a new Publish Template

      • Under Content - Web Content click on Change
      • Change Referenced Content Behavior from Include Always to Include If Modified

      11. Save the Publish Template
      12. Perform a new publication using the new Publish Template

      Results of Testing

      Expected Result: The linked documents won't be published unless they are changed
      Actual Result: The linked documents are published despite being unchanged

      Errors/Logs

      N/A

      Master

      Reproduced: c619dd446a02db69a8cbdd902f715710a8906bc

      Branch

      Reproduced:
      72x hash: 05fcd5646a92c309a33f8acc83b86b09ce56a608
      72x-private hash: 54342930235c00a8a33485edfb2683ee5c08d149

        Attachments

          Activity

            People

            • Assignee:
              joyce.wang Joyce Wang
              Reporter:
              il.kim Brian I. Kim
              Participants of an Issue:
              Recent user:
              Brian Wulbern
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                11 weeks, 1 day ago

                Packages

                Version Package
                7.2.10 DXP FP5
                7.2.10.2 DXP SP2
                7.2.X
                7.3.3 CE GA4
                Master