N°3990 - Forgot to update descending migration method so it applies _delta flag where its needed

This commit is contained in:
Molkobain
2021-05-11 09:28:04 +02:00
parent 626316e8d1
commit cb61d85572

View File

@@ -883,13 +883,9 @@ class iTopDesignFormat
// Move node under lifecycle only if there is such a node
$oLifecycleNode = $oXPath->query("../../../lifecycle", $oNode)->item(0);
if ($oLifecycleNode !== null) {
// Create attribute node
$oAttributeNode = $oLifecycleNode->ownerDocument->createElement("attribute", $oNode->nodeValue);
$oLifecycleNode->appendChild($oAttributeNode);
// Move to attribute node
$this->MoveNode($oNode, $oLifecycleNode, "attribute");
}
// Remove current node from semantic in all cases
$this->DeleteNode($oNode);
}
// - Remove semantic node
$sPath = "/itop_design//class/properties/fields_semantic";