0017387: Derivacion en paralelo, una de los hilos llega a la bandeja como leido
This commit is contained in:
dheeyi
2015-05-29 17:31:16 -04:00
parent 12edf45060
commit 35247643f1
2 changed files with 1 additions and 9 deletions

View File

@@ -1078,6 +1078,7 @@ class Cases
$Fields['DEL_INDEX'] = 1;
}
$inbox = new ListInbox();
unset($Fields['DEL_INIT_DATE']);
$inbox->update(array_merge($Fields, $arrayNewCaseTitleAndDescription));
/*----------------------------------********---------------------------------*/

View File

@@ -835,15 +835,6 @@ class Derivation
//Start Block : UPDATES APPLICATION
$this->case->updateCase( $currentDelegation["APP_UID"], $appFields );
//End Block : UPDATES APPLICATION
if($currentDelegation['ROU_TYPE'] == 'PARALLEL-BY-EVALUATION'){
$con = Propel::getConnection('workflow');
$c1 = new Criteria('workflow');
$c1->add(ListInboxPeer::APP_UID, $currentDelegation["APP_UID"]);
$c2 = new Criteria('workflow');
$c2->add(ListInboxPeer::DEL_INIT_DATE, null);
BasePeer::doUpdate($c1, $c2, $con);
}
}
}