mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Merge remote-tracking branch 'origin/support/3.2' into develop
This commit is contained in:
@@ -1827,7 +1827,7 @@ EOF;
|
||||
// Search field in parent class
|
||||
$oField = $this->GetFieldInParentClasses($oClass, $sStateAttCode);
|
||||
if ($oField == null) {
|
||||
throw new DOMFormatException("Non existing attribute '$sStateAttCode'", null, null, $oStateAttribute);
|
||||
throw new DOMFormatException("Non existing attribute '$sStateAttCode'", 0, null, $oStateAttribute);
|
||||
}
|
||||
}
|
||||
$oCodeNodes = $this->oFactory->GetNodes('values/value/code', $oField);
|
||||
|
||||
@@ -2040,7 +2040,7 @@ class MFElement extends Combodo\iTop\DesignElement
|
||||
{
|
||||
// Houston!
|
||||
$sXPath = DesignDocument::GetItopNodePath($this);
|
||||
throw new DOMFormatException("id '$key' already used in $sXPath", null, null, $oItem);
|
||||
throw new DOMFormatException("id '$key' already used in $sXPath", 0, null, $oItem);
|
||||
}
|
||||
$res[$key] = $oItem->GetNodeAsArrayOfItems();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user