[MGNLUI-1619] Create general RestorePreviousVersionAction Created: 11/Jun/13  Updated: 23/Sep/14  Resolved: 11/Jun/13

Status: Closed
Project: Magnolia UI
Component/s: content app
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Task Priority: Neutral
Reporter: Jozef Chocholacek Assignee: Jozef Chocholacek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
is causing MGNLUI-1662 Make i.m.pages.app.action.RestorePrev... Closed
dependency
is depended upon by CNTCTSAPP-28 Use MarkAsDeleted action instead dire... Closed
is depended upon by MGNLCAT-72 Use MarkAsDeleted instead of direct d... Closed
is depended upon by MGNLDAM-255 Use MarkAsDeleted action instead dire... Closed
relation
is related to MGNLUI-2754 Restore previous version including su... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Sprint: RC 1

 Description   

The current restore action is just for pages, we need to restore also general nodes.



 Comments   
Comment by Daniel Lipp [ 13/Jun/13 ]

New action is almost an identical copy of info.magnolia.pages.app.action.RestorePreviousVersionAction - pls try to extract common code rather than duplicate. Most likely the one from pages should base on the "general" action.

Details:

  • #getPreviousVersion() is 100% identical
  • #execute() is very similar
  • minor
  • logger should always be "private static final"
  • typos in "This Item do not have a Valid Previos ..." - should be "This item does not have a valid previous..."
Comment by Jozef Chocholacek [ 14/Jun/13 ]

To be fixed after 5.0-Final

Generated at Mon Feb 12 08:48:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.