Created request management module as a clone of incident management (class hierarchy) and fixed an issue revealed by the computed fields of a ticket

SVN:trunk[546]
This commit is contained in:
Romain Quetiez
2010-07-04 10:33:07 +00:00
parent 99ba209152
commit db277c8539
5 changed files with 72 additions and 228 deletions

View File

@@ -50,10 +50,6 @@ abstract class DBObject
{
$this->FromRow($aRow, $sClassAlias);
$this->m_bFullyLoaded = $this->IsFullyLoaded();
if ($this->m_bFullyLoaded)
{
$this->DoComputeValues();
}
return;
}
// Creation of brand new object
@@ -78,7 +74,6 @@ abstract class DBObject
$this->m_aLoadedAtt[$sAttCode] = true;
}
}
$this->DoComputeValues();
}
// Read-only <=> Written once (archive)
@@ -154,7 +149,6 @@ abstract class DBObject
throw new CoreException("Failed to reload object of class '".get_class($this)."', id = ".$this->m_iKey);
}
$this->FromRow($aRow);
$this->DoComputeValues();
// Process linked set attributes
//