BUG 8169 "Recieve An Error in Parallel Task are finished (2.0...." SOLVED

- the problem originally was that never is derivation handling correctly to conditional forks and normal forks
- code was improed and handled for both forks at derivation types
This commit is contained in:
Erik Amaru Ortiz
2012-03-27 18:09:58 -04:00
parent cd456e6bde
commit 126b344c7b
2 changed files with 26 additions and 15 deletions

View File

@@ -646,12 +646,15 @@ class Derivation
$appFields['APP_FINISH_DATE'] = 'now';
$this->verifyIsCaseChild($currentDelegation['APP_UID']);
}
$appFields['DEL_INDEX'] = (isset($iNewDelIndex) ? $iNewDelIndex : 0);
$appFields['TAS_UID'] = $nextDel['TAS_UID'];
/* Start Block : UPDATES APPLICATION */
$this->case->updateCase ( $currentDelegation['APP_UID'], $appFields );
/* End Block : UPDATES APPLICATION */
if (isset($iNewDelIndex)) {
$appFields['DEL_INDEX'] = $iNewDelIndex;
$appFields['TAS_UID'] = $nextDel['TAS_UID'];
/* Start Block : UPDATES APPLICATION */
$this->case->updateCase ( $currentDelegation['APP_UID'], $appFields );
/* End Block : UPDATES APPLICATION */
}
}