Uploaded image for project: 'Packager (closed)'
  1. Packager (closed)
  2. MGNLPCK-32

Overriding of updated nodes leads to loss of children

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.1
    • 4.0
    • None

    Description

      Currently when packager updates the nodes, if such nodes have matching UUIDs it will completely replace the node using session import and IMPORT_UUID_COLLISION_REPLACE_EXISTING import behavior. This leads to the loss of the existing children as the imported node doesn't have any (Packager would import child nodes separately). This import however happens only after the nodes have been already evaluated, which results in loss of child node in case this was earlier evaluated as unchanged, while it's parent was evaluated as changed.
      The solution to the issue for now is to treat the nodes with matching UUIDs same way as those without matching UUIDs - just update all properties as appropriate, but do not replace whole node.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              had Jan Haderka
              had Jan Haderka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: