Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Corebox Events vs Workflow Custom Function
#9
This indicates an error in the task of one of your workflows. That is rather odd, maybe it was saved incorrectly or some parameter isn't validated correctly. You have to find out which task is causing the problem and then check the parameters.

Try adding this patch to your code:

Code:
diff --git a/modules/com_vtiger_workflow/VTTaskManager.inc b/modules/com_vtiger_workflow/VTTaskManager.inc
index f6e4011..394e5a0 100644
--- a/modules/com_vtiger_workflow/VTTaskManager.inc
+++ b/modules/com_vtiger_workflow/VTTaskManager.inc
@@ -74,6 +74,7 @@
            $result = $adb->pquery("select task from com_vtiger_workflowtasks where task_id=?", array($taskId));
            $data = $adb->raw_query_result_rowdata($result, 0);
            $task = $data["task"];
+            var_dump($data);
            $task = $this->unserializeTask($task);
            $timeFieldList = $task->getTimeFieldList();
            foreach ($timeFieldList as $field) {

that should output on screen the information of the task that is breaking so you can fine tune it

let me know which task it is in case I can reproduce it here, we are probably missing some validation to not let some value be saved as you are passing it in.
Joe
TSolucio
Reply


Messages In This Thread
Re: Corebox Events vs Workflow Custom Function - by joebordes - 03-02-2015, 09:59 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)