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

Publish to remote live failed if there is a document in the recycle bin linked to a web content

    Details

    • Fix Priority:
      3

      Description

      Publish to remote live failed if there is a document in the recycle bin linked to a web content.

      Steps to reproduce:

      1. Create a remote staging live environment
      2. Add a document do staging
      3. Create a web content with this document
      4. Move the document to the recycle bin
      5. Change the document in the web content with other document
      6. Delete the historical of the web content
      7. Publish to live

      Expected behaviour:

      The web content with the last document is published.

       

      Real behaviour:

      I am receiving the following error:

      An unexpected error occurred with the publication process. Please check your portal and publishing configuration.
      The model.resource.com.liferay.portal.repository.liferayrepository.model.LiferayFileVersion: document_name.txt could not be exported because its workflow status is not exportable.
      

      The deleted document is still creating conflict event if the web content does not contain the document.

      The only way I found to work around this issue is to restore the document from the recycle bin.

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                28 weeks, 5 days ago

                Packages

                Version Package