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

Obsolete older versions of web content fails to publish



      Web content is the only content type that publishes it's version history for staging publication.
      Web content history might contain content references to obsolete or non-existent entities. This causes the publication to fail citing missing references and other issues, however the article's latest version is still valid.

      One way to reproduce:

      • enable staging for a site, for all content types
      • create a basic web content - test article 1
      • create an other basic web content for later usage - test article 2
      • create a web content structure with an article field type
      • create a template for the newly created structure
      • create a new article based on the new structure - test article 3
      • define the basic web content - test article 1 - for the structured web content's article type field
      • publish the whole site to staging
      • this point the publication should be successful
      • delete the basic web content - test article 1
      • publish the site - web content deletion should be published
      • edit test article 3 and define test article 2 for the article type field
      • publish the site again make sure the article version history is published - advanced publication

      Publication is finished and it was successful

      Publication fails with an error message - see attached screenshot for more detailed error

      }}{{An unexpected error occurred with the publication process. Please check your portal and publishing configuration.The following error in Web Content while importing its data has stopped the process: com.liferay.portal.kernel.exception.PortalException: com.liferay.portal.kernel.exception.BulkException: {message = Unable to validate journal article references {com.liferay.journal.exception.NoSuchArticleException:No JournalArticle exists with the key{resourcePrimKey=35611}


          Issue Links



              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created:
                  Days since last comment:
                  2 years, 45 weeks, 3 days ago


                  Version Package
                  7.0.0 DXP FP32
                  7.0.5 CE GA6