diff --git a/core/metamodel.class.php b/core/metamodel.class.php index b49c15eda..1a3794ce1 100644 --- a/core/metamodel.class.php +++ b/core/metamodel.class.php @@ -1753,11 +1753,6 @@ 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()) { diff --git a/datamodels/2.x/itop-storage-mgmt/datamodel.itop-storage-mgmt.xml b/datamodels/2.x/itop-storage-mgmt/datamodel.itop-storage-mgmt.xml index 40a87eeaf..bb7046881 100644 --- a/datamodels/2.x/itop-storage-mgmt/datamodel.itop-storage-mgmt.xml +++ b/datamodels/2.x/itop-storage-mgmt/datamodel.itop-storage-mgmt.xml @@ -1414,14 +1414,6 @@ server_id - - lnkVirtualDeviceToVolume - volume_id - 0 - 0 - virtualdevice_id - - @@ -1437,10 +1429,6 @@ // Actually this should be limited to the Software instances based on a DBServer Application type... "server" => array("sQuery"=>"SELECT Server AS s JOIN lnkServerToVolume AS l1 ON l1.server_id=s.id WHERE l1.volume_id = :this->id", "bPropagate"=>true, "iDistance"=>5), ); - if (class_exists('VirtualDevice')) - { - $aRels["virtualdevice"] = array("sQuery"=>"SELECT VirtualDevice AS vd JOIN lnkVirtualDeviceToVolume AS l1 ON l1.virtualdevice_id=vd.id WHERE l1.volume_id = :this->id", "bPropagate"=>true, "iDistance"=>5); - } return array_merge($aRels, parent::GetRelationQueries($sRelCode)); break; @@ -1481,9 +1469,6 @@ 70 - - 80 - @@ -1611,95 +1596,6 @@ - - cmdbAbstractObject - - bizmodel,configmgmt - false - autoincrement - lnkvirtualdevicetovolume - id - - - %1$s - - - - - - - - - - - - - - volume_id - LogicalVolume - false - DEL_AUTO - - - volume_id - name - - - virtualdevice_id - VirtualDevice - false - DEL_AUTO - - - virtualdevice_id - name - - - size_used - - true - - - - -
- - - 10 - - - 20 - - - 30 - - -
- - - - 10 - - - 20 - - - - - - - 10 - - - 20 - - - 30 - - - -
-
cmdbAbstractObject