#564 Prompt for an update in a case log on a lifecycle transition. Can be retrofitted easily.

SVN:trunk[3687]
This commit is contained in:
Romain Quetiez
2015-08-19 12:42:49 +00:00
parent 76149633a1
commit 8b5faf6b66

View File

@@ -2400,11 +2400,10 @@ EOF
$iFieldIndex = 0;
$aFieldsMap = array();
$aDetailsList =$this->FlattenZList(MetaModel::GetZListItems($sClass, 'details'));
// Order the fields based on their dependencies, set the fields for which there is only one possible value
// and perform this in the order of dependencies to avoid dead-ends
$aDeps = array();
foreach($aDetailsList as $sAttCode)
foreach(MetaModel::GetAttributesList($sClass) as $sAttCode)
{
$aDeps[$sAttCode] = MetaModel::GetPrequisiteAttributes($sClass, $sAttCode);
}