Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5492

RestorePreviousVersionAction should restore all childs folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 5.2
    • 5.1.1
    • None
    • None

      RestorePreviousVersionAction restore only child items but not folders and their child nodes.

      Reproduce in contact app:
      Create structure as

      rootFolder [type mgnl:folder]
      subFolder [type mgnl:folder]
      contactInSubFolder [type mgnl:contact]
      contactInRootFolder [type mgnl:contact]

      Then select rootFolder and use Delete folder action. Confirm warning about "the node and its sub nodes will be marked for deletion".

      All elements from the tree are mark as deleted.

      Now select the RootFolder and use 'restore previous version' action.
      RootFolder and contactInRootFolder will be correctly restored, but subFolder and contactInSubFolder not.

      Check fix done for MAGNOLIA-5337

        Acceptance criteria

              ejervidalo Espen Jervidalo
              ehechinger Eric Hechinger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD