BUG 10156 Cron execution stop if an error is found in any event SOLVED

- To run cron was stopped in one case in the function PMFGetUserEmailAddress for a nonexistent user id.
- was add validation to nonexistent user
This commit is contained in:
Marco Antonio Nina
2012-12-12 14:45:16 -04:00
parent b9841c213e
commit 7ffbecdb60
3 changed files with 8 additions and 5 deletions

View File

@@ -330,6 +330,7 @@ class AppEvent extends BaseAppEvent
$log[] = ' - The trigger ' . $aRow['TRI_UID'] . ' throw some errors!';
println( " - The trigger {$aRow['TRI_UID']} throw some errors!" );
print_r( $_SESSION['TRIGGER_DEBUG']['ERRORS'] );
$_SESSION['TRIGGER_DEBUG']['ERRORS'] = array();
}
if ($oAppEvent->getAppEvnAttempts() > 0) {
$oAppEvent->setAppEvnAttempts( $oAppEvent->getAppEvnAttempts() - 1 );