mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
MetaModel: when an ext key on a Link is discarded, then discard the corresponding linkset attributes
SVN:trunk[2406]
This commit is contained in:
@@ -1753,6 +1753,11 @@ abstract class MetaModel
|
||||
self::$m_aIgnoredAttributes[$sTargetClass][$oAtt->GetCode()] = $sRemoteClass;
|
||||
return;
|
||||
}
|
||||
elseif ($oAtt->IsIndirect() && !self::IsValidAttCode($sRemoteClass, $oAtt->GetExtKeyToRemote()))
|
||||
{
|
||||
self::$m_aIgnoredAttributes[$sTargetClass][$oAtt->GetCode()] = $sRemoteClass;
|
||||
return;
|
||||
}
|
||||
}
|
||||
elseif($oAtt->IsExternalKey())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user