[MGNLUI-5747] Restore previous version (deletion undo) is not recursive anymore Created: 20/Mar/20  Updated: 23/Mar/20  Resolved: 23/Mar/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2

Type: Bug Priority: Neutral
Reporter: Aleksandr Pchelintcev Assignee: Rishab Dhar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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:
Sprint: UI Framework 20

 Description   

Restore previous actions, which is used to be used mostly to recursively undo deletion, i.e. remove 'deleted' mix-in, now is not recursive anymore.

Investigation shows that it no longer extends/utilises a corresponding command.

Proposed solution:

  • make action extend CommandAction
  • add parentNodeTypeOnly parameter to the definition
  • adapt pages app descriptor


 Comments   
Comment by Rishab Dhar [ 23/Mar/20 ]

Restore previous version recursively is achieved by setting parentNodeTypeOnly: true

Generated at Mon Feb 12 09:29:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.