mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Customizations/XML: clearer error reporting when encountering a duplicate value for an AttributeEnum
SVN:trunk[3699]
This commit is contained in:
@@ -1431,7 +1431,7 @@ class MFElement extends DOMElement
|
||||
if (array_key_exists($key, $res))
|
||||
{
|
||||
// Houston!
|
||||
throw new DOMFormatException("Tag ".$oItem->getNodePath().", id '$key' already used!!!");
|
||||
throw new DOMFormatException("Tag ".MFDocument::GetItopNodePath($oItem).", id '$key' already used!!!");
|
||||
}
|
||||
$res[$key] = $oItem->GetNodeAsArrayOfItems();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user