Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
5
-
Regression Bug
-
- DISPLAY_PAGE_TEMPLATES_STAGING_01_-_Display_pages_can_be_published_to_live
- DISPLAY_PAGE_TEMPLATES_STAGING_02_-_Can_view_a_web_content_article_through_a_display_page_template_after_it_is_published_to_live
- DISPLAY_PAGE_TEMPLATES_STAGING_03_-_Can_view_a_blogs_entry_through_a_display_page_template_after_it_is_published_to_live
- DISPLAY_PAGE_TEMPLATES_STAGING_04_-_Can_view_a_document_through_a_display_page_template_after_it_is_published_to_live
- DISPLAY_PAGE_TEMPLATES_STAGING_05_-_Can_edit_a_display_page_template_
- LocalFile.ContentPagesWithStaging#PublishEditedContentPage
- LocalFile.DisplayPagesWithRemoteStaging#PublishDisplayPageMapWebContentWithAssetPublisher
- LocalFile.DisplayPagesWithStagingAndWebContent#DeactivateStagingAfterPublish
- LocalFile.DisplayPagesWithStagingAndWebContent#PublishDisplayPage
- LocalFile.DisplayPagesWithStagingAndWebContent#PublishDisplayPageMarkedAsDefault
- LocalFile.DisplayPagesWithStagingAndWebContent#PublishEditedDisplayPage
- PAGE_EDITOR_STAGING_08_-_Display_Pages_mapped_editables_pass_staging_actions
-
58
Description
To reproduce:
1. create a site
2. enable local staging
3. navigate to Site Builder - Pages - Display Page Templates
4. add a new template and click on Publish (no need to add any fragment to the page)
5. navigate to Publishing - Staging
6. create a new custom publication
7. publish it to live
Actual result:
Publication fails with exception
An unexpected error occurred with the publication process. Please check your portal and publishing configuration. The Page new page could not be imported because of the following error: com.liferay.portal.kernel.dao.orm.ORMException: {"classNameId":"20003","classPK":"36","colorSchemeId":"","companyId":"20101","createDate":1555591289412,"css":"","description":"","descriptionCurrentValue":"","friendlyURL":"\/new-page1","groupId":"39102","headId":"-37","hidden":true,"iconImageId":"0","keywords":"","keywordsCurrentValue":"","lastPublishDate":null,"layoutId":"2","layoutPrototypeLinkEnabled":false,"layoutPrototypeUuid":"","modifiedDate":1555591312632,"mvccVersion":"0","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">new page<\/Name><\/root>","nameCurrentValue":"new page","parentLayoutId":"0","parentPlid":"0","plid":"37","priority":2147483647,"privateLayout":false,"publishDate":1555591293043,"robots":"","robotsCurrentValue":"","sourcePrototypeLayoutUuid":"","system":true,"themeId":"","title":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Title language-id=\"en_US\">new page<\/Title><\/root>","titleCurrentValue":"new page","type":"asset_display","typeSettings":"last-import-date=1555591312632\nlast-import-user-name=Test Test\nlast-import-user-uuid=b2f71fe9-cc74-fc72-ee56-ea0c2270736b\n","userId":"20129","userName":"Test Test","uuid":"0648e898-b58a-3418-aa8d-15df9803604c"} is stale in comparison to {"classNameId":"20003","classPK":"36","colorSchemeId":"","companyId":"20101","createDate":1555591289412,"css":"","description":"","descriptionCurrentValue":"","friendlyURL":"\/new-page1","groupId":"39102","headId":"-37","hidden":true,"iconImageId":"0","keywords":"","keywordsCurrentValue":"","lastPublishDate":null,"layoutId":"2","layoutPrototypeLinkEnabled":false,"layoutPrototypeUuid":"","modifiedDate":1555591312632,"mvccVersion":"1","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">new page<\/Name><\/root>","nameCurrentValue":"new page","parentLayoutId":"0","parentPlid":"0","plid":"37","priority":2147483647,"privateLayout":false,"publishDate":1555591293043,"robots":"","robotsCurrentValue":"","sourcePrototypeLayoutUuid":"","system":true,"themeId":"","title":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Title language-id=\"en_US\">new page<\/Title><\/root>","titleCurrentValue":"new page","type":"asset_display","typeSettings":"last-import-date=1555591312632\nlast-import-user-name=Test Test\nlast-import-user-uuid=b2f71fe9-cc74-fc72-ee56-ea0c2270736b\n","userId":"20129","userName":"Test Test","uuid":"0648e898-b58a-3418-aa8d-15df9803604c"}.
Exception is thrown to console. See trace here.
Expected:
Publication to succeed
Tested on master 8c953bc