ProcessMaker-BE "Group (fixes)"

- Se agrego validacion al elminar un grupo (si el grupo esta asignado a una tarea)
- Otros improvements tambien se realizaron
This commit is contained in:
Victor Saisa Lopez
2014-06-23 12:56:23 -04:00
parent d750cd9902
commit 04564c11c3
6 changed files with 41 additions and 42 deletions

View File

@@ -44,7 +44,11 @@ class Workflow extends Handler
$process = new Process();
$processData = $process->load($proUid);
} catch (\Exception $e) {
throw $e;
if (is_null(\ProcessPeer::retrieveByPK($proUid))) {
throw new Exception\ProjectNotFound($me, $proUid);
} else {
throw $e;
}
}
$me->process = $processData;