03-02-2015, 09:59 AM
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:
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.
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
TSolucio