BUG 8823 "No funcionan las conexiones a bases de datos..." SOLVED

- Function "executeQuery" in triggers is not working properly with external
  database, when run through Web Services with the functions "executeTrigger" or "routeCase"
- Problem solved, settled the session variables required by the method Propel::getConnection
This commit is contained in:
Victor Saisa Lopez
2012-07-19 15:32:19 -04:00
parent 79c391805e
commit c9facfb8dc

View File

@@ -1777,7 +1777,7 @@ class wsBase
$appFields["APP_DATA"]["APPLICATION"] = $caseId; $appFields["APP_DATA"]["APPLICATION"] = $caseId;
if (!isset($_SESSION["PROCESS"])) { if (!isset($_SESSION["PROCESS"])) {
$_SESSION["PROCESS"] = $appFields["APP_DATA"]["PROCESS"]; $_SESSION["PROCESS"] = $appFields["PRO_UID"];
} }
if ($bExecuteTriggersBeforeAssignment) { if ($bExecuteTriggersBeforeAssignment) {
@@ -2159,7 +2159,7 @@ class wsBase
$appFields["APP_DATA"]["APPLICATION"] = $caseId; $appFields["APP_DATA"]["APPLICATION"] = $caseId;
if (!isset($_SESSION["PROCESS"])) { if (!isset($_SESSION["PROCESS"])) {
$_SESSION["PROCESS"] = $appFields["APP_DATA"]["PROCESS"]; $_SESSION["PROCESS"] = $appFields["PRO_UID"];
} }
//executeTrigger //executeTrigger