Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-2094

Remove hippo:branchInfo mixin when restoring a version

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Processed by team:
      Turing
    • Sprint:
      Turing Sprint 188

      Description

      The VersionRestoreToTask is used to restore a version from history. It does this by deleting all child nodes and properties from the target node and then selectively copying them back from the version node. Mixins on the target node however, are not deleted.
      This can cause problems if the mixin requires mandatory properties that the version node does not have.

      An example is the hippo:branchInfo mixin.
      So, at least for this mixin make sure that it is removed before the version node properties are copied back and the session is saved.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                meggermont Michiel Eggermont
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: