Browse Source

- bug fix: external keys must be set - in case the object has to be created

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@346 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 15 years ago
parent
commit
bf4eecc140
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/bulkchange.class.inc.php

+ 1 - 1
core/bulkchange.class.inc.php

@@ -252,7 +252,7 @@ class BulkChange
 		foreach($this->m_aExtKeys as $sAttCode => $aKeyConfig)
 		foreach($this->m_aExtKeys as $sAttCode => $aKeyConfig)
 		{
 		{
 			// Skip external keys used for the reconciliation process
 			// Skip external keys used for the reconciliation process
-			if (!array_key_exists($sAttCode, $this->m_aAttList)) continue;
+			// if (!array_key_exists($sAttCode, $this->m_aAttList)) continue;
 
 
 			$oExtKey = MetaModel::GetAttributeDef(get_class($oTargetObj), $sAttCode);
 			$oExtKey = MetaModel::GetAttributeDef(get_class($oTargetObj), $sAttCode);
 			$oReconFilter = new CMDBSearchFilter($oExtKey->GetTargetClass());
 			$oReconFilter = new CMDBSearchFilter($oExtKey->GetTargetClass());