Bug 5866, fix made in order to save the routing rules defined in the process designer, the problem was related to the field GAT_UID that is was null, and the definition of the field in the table was not null

This commit is contained in:
Gustavo Adolfo Cruz Laura
2011-01-17 15:11:16 +00:00
parent 294adf7cc5
commit c92888499f

View File

@@ -2463,7 +2463,7 @@ class processMap {
$sGatewayUID = $oProcessMap->saveNewGateway($sProcessUID, $sTaskUID);
}
$aFields ['GAT_UID'] = $sGatewayUID;
$aFields ['GAT_UID'] = (isset($sGatewayUID))?$sGatewayUID:'';
$oRoute = new Route ( );
$oRoute->create($aFields);
} catch (Exception $oError) {