mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
Throw an expection in case of unexpected value for the _delta attribute in the XML...
SVN:trunk[4042]
This commit is contained in:
@@ -488,6 +488,9 @@ class ModelFactory
|
||||
}
|
||||
$oTargetNode->Delete();
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new Exception(MFDocument::GetItopNodePath($oSourceNode).' at line '.$oSourceNode->getLineNo().": unexpected value for attribute _delta: '".$oSourceNode->getAttribute('_delta')."'");
|
||||
}
|
||||
|
||||
if ($oSourceNode->hasAttribute('_rename_from'))
|
||||
|
||||
Reference in New Issue
Block a user