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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user