From c92888499fc0eb979bb47a84725542bcfe351710 Mon Sep 17 00:00:00 2001 From: Gustavo Adolfo Cruz Laura Date: Mon, 17 Jan 2011 15:11:16 +0000 Subject: [PATCH] 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 --- workflow/engine/classes/class.processMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/classes/class.processMap.php b/workflow/engine/classes/class.processMap.php index 74c2bb33a..67ad50c8d 100644 --- a/workflow/engine/classes/class.processMap.php +++ b/workflow/engine/classes/class.processMap.php @@ -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) {