Cosmetics on the bulk load (followed new test plan)

SVN:trunk[159]
This commit is contained in:
Romain Quetiez
2009-09-14 16:06:04 +00:00
parent 7ed603b7e9
commit 043552536d
3 changed files with 68 additions and 36 deletions

View File

@@ -172,7 +172,7 @@ class RowStatus_NewObj extends RowStatus
}
else
{
if (empty($this->m_sClass))
if (!empty($this->m_sClass))
{
$oObj = MetaModel::GetObject($this->m_sClass, $this->m_iObjKey);
return 'Created '.$oObj->GetHyperLink();
@@ -281,7 +281,7 @@ class BulkChange
{
case 0:
$aErrors[$sAttCode] = "Object not found";
$aResults[$sAttCode]= new CellChangeSpec_Issue(null, $oTargetObj->Get($sAttCode), 'Object not found');
$aResults[$sAttCode]= new CellChangeSpec_Issue(null, $oTargetObj->Get($sAttCode), 'Object not found - check the spelling (no space before/after)');
break;
case 1:
// Do change the external key attribute