[MAGNOLIA-5616] Restore of a deleted page is not possible Created: 10/Jan/14  Updated: 23/Jan/14  Resolved: 23/Jan/14

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 5.2.1
Fix Version/s: 5.2.2

Type: Bug Priority: Critical
Reporter: Frank Sommer Assignee: Milan Divilek
Resolution: Fixed Votes: 1
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MAGNOLIA-5629 RestorePreviousVersionAction doesn't ... Closed
causality
is causing MGNLACTIVATION-80 When version map contains entry witho... Closed
dependency
relation
is related to MAGNOLIA-5633 Wrong behaviour during creating versi... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Visible to:
Rainer Blumenthal

 Description   

Restoring a deleted page is not possible, if the workflow was used in meanwhile.

You can reproduce this by following steps:
1. delete a page
2. publish the deletion
3. restore previous version

I think the problem is that the workflow has created a new version of the already deleted page.

Assuming this would work, would the pulse message disappear?

Another use case how to get into this state is
1.delete a sub page
2.delete parent page
3.restore of sub page is not possible



 Comments   
Comment by Philip Mundt [ 10/Jan/14 ]

Restoring previous version (created prior to deletion) is covered by MGNLUI-2552.

Comment by Jan Haderka [ 10/Jan/14 ]

Ummm, once you publish the deletion, page should be removed from author so it should not be possible to restore it anymore. So the problem here is more to find out why this page is not deleted? Did publishing it failed? Also afaik in 4.5 publishing deletion didn't create new version.

Comment by Frank Sommer [ 13/Jan/14 ]

With "publish the deletion" I mean, that the editor clicks on "publish deletion". By that action a version will be created and the workflow will be started. If the publisher reject this workflow item, you can not restore the deleted page, because it is only possible to restore the latest version.

I hope I could clarify the issue.

Generated at Mon Feb 12 04:06:47 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.