From f9345abca820df99cfe7952883de419fd529fb38 Mon Sep 17 00:00:00 2001 From: Erik Amaru Ortiz Date: Mon, 18 Apr 2011 15:55:44 -0400 Subject: [PATCH] BUG 6756 "External steps with actions is not working": Solved there was problem with old code but is fixed a reference to a inexistent variable and a missing $ char --- workflow/engine/methods/cases/ajaxListener.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/workflow/engine/methods/cases/ajaxListener.php b/workflow/engine/methods/cases/ajaxListener.php index 106b0609e..da4961ca1 100755 --- a/workflow/engine/methods/cases/ajaxListener.php +++ b/workflow/engine/methods/cases/ajaxListener.php @@ -183,7 +183,8 @@ class Ajax $stepTitle = $obj->getExternalStepTitle( $caseStep->getStepUidObj(), $TAS_UID, $caseStep->getStepPosition()); } if (method_exists($obj, 'getExternalStepAction')) { - $externalStepActions = $obj->getExternalStepAction( $aRow->getStepUidObj(), $aRow->getStepPosition()); + $externalStepActions = $obj->getExternalStepAction( $caseStep->getStepUidObj(), +$caseStep->getStepPosition()); } } break; @@ -200,7 +201,7 @@ class Ajax $childNode->text = $label; $childNode->iconCls = 'ICON_EXTERNAL_STEP'; $childNode->leaf = true; - $childNode->url = "../cases/cases_Step?TYPE=$stepTypeObj&UID=stepUidObj&POSITION=$stepPosition&ACTION=$action"; + $childNode->url = "../cases/cases_Step?TYPE=$stepTypeObj&UID=$stepUidObj&POSITION=$stepPosition&ACTION=$action"; $node->children[] = $childNode; }