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

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 5.6.0
    • None
    • None

    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

              Unassigned Unassigned
              meggermont Michiel Eggermont (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: