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

Publishing will fail if the linked document is in the Recycle Bin.

    Details

      Description

      Steps to reproduce

      1. Setup remote staging environment
      2. Goto staging side
      3. Admin > Content > Document and Media > add a document
      4. Back to homepage > add Web Content Portlet to the page
      5. Add a web content from the Web Content Portlet and add document link added in step 3
      6. Admin > Contents > Document and Media > select the document > Move to the Recycle Bin
      7. Back to homepage and  Publish to Remote Live -> Switch to Advanced Publication -> Choose Content -> All -> Refresh Counts -> Change -> unchecked " Referenced Content".
      8. Publish the site.

       Actual result
      An error message is displayed and not completed the following the publish.(Pleaes refer attached "Publish Error.png")

      The following error is thrown.

      03:19:12,811 ERROR [liferay/background_task-1][BackgroundTaskMessageListener:133] Unable to execute background task
      com.liferay.portal.MissingReferenceException
      

        Expected result,

      No error is thrown. and the publishing will be successful.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lori.liu Lori Liu (Inactive)
                Reporter:
                david.zhang David Zhang (Inactive)
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 32 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP36
                  7.0.0 DXP SP7
                  7.0.5 CE GA6
                  7.0.X
                  7.1.0 M1
                  7.1.X
                  Master