Details
-
Task
-
Resolution: Outdated
-
Neutral
-
None
-
5.0
-
None
-
-
Empty show more show less
-
Empty show more show less
Description
Follow up of MGNLUI-1619:
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
Make sure the API is not changed.
Checklists
Acceptance criteria
Attachments
Issue Links
- caused by
-
MGNLUI-1619 Create general RestorePreviousVersionAction
-
- Closed
-
- is superseded by
-
MGNLUI-2947 Eliminate code duplication in RestorePreviousVersionActions
-
- Closed
-