Fetch() ignore row when sub-class does not exist

This commit is contained in:
Eric
2020-01-08 16:38:11 +01:00
parent 8d45e48ce1
commit 34f8fff01c

View File

@@ -979,9 +979,17 @@ class DBObjectSet implements iDBObjectSetIterator
$oRetObj = null;
}
else
{
try
{
$oRetObj = MetaModel::GetObjectByRow($sClass, $aRow, $sClassAlias, $this->m_aAttToLoad, $this->m_aExtendedDataSpec);
}
catch (CoreException $e)
{
$this->m_iCurrRow++;
$oRetObj = $this->Fetch($sRequestedClassAlias);
}
}
break;
}
}