Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.3.X, Master
-
7.3.x, 7.2.x
-
Committed
-
3
-
3
Description
Reproduction steps:
- Start up a clean portal instance
- Create a new site
- Activate local staging with default settings
- Create a new widget page: page1
- Create two basic web contents: content1 and content2
- Publish everything to live from staging menu
- Delete content2 in staging
- Go to staging publish menu and publish the web content deletion, using the "Replicate Individual Deletions" and the "From Last Publish Date" options
- Go to page1 and click on the "Publish to Live" button in the top right corner
Expected result: "Changes Since Last Publication" section show no deletion changes (as the deletion has been published already)
Actual result: It shows one web content to be deleted: "Web Content (1 Deletions)"
Notes:
- When you publish all in the advanced publication window, the problem solves itself.
- It works in previous versions: 7.2.x and 7.1.x, since the deletion events are stored in the SystemEvent table and are deleted from there. We no longer do that since 7.3.x, as it was removed by
LPS-123999. - The main problem is the DateRange the publication form receives for each portlet. When we use the "From Last Publish Date" option, we always publish through the Changeset Portlet and not the Journal Portlet. And thus, Changeset Portlet will have the last publication date in its portlet preferences (portletID = "com_liferay_exportimport_web_portlet_ChangesetPortlet") updated, while Journal Portlet not ("com_liferay_journal_web_portlet_JournalPortlet"). When we query the deletions, we check them based on these dates.
- A solution idea: when we publish assets through Changeset Portlet, we should update the last-publish-date value in all other assets' corresponding portlet preferences as well.
Attachments
Issue Links
- causes
-
LPS-142087 Unable to execute export import process callback in ExportImport tests
- Closed
-
LPS-142111 NPE occurs when publish web content to remote live
- Closed
- fixes
-
LPS-147331 Content won't be deleted on Remote Live if the publish process fails before
- Closed
- is caused by
-
LPS-123999 Deletion events are lost when publication fail
- Closed
- is duplicated by
-
LPS-147331 Content won't be deleted on Remote Live if the publish process fails before
- Closed
- mentioned in
-
Page Loading...