History task not marked completed for tasks not associated with a process
-------------------------------------------------------------------------
Key: JBPM-2952
URL:
https://jira.jboss.org/browse/JBPM-2952
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 4.4
Reporter: Jon Kranes
If a task is created programmatically directly from the TaskService API using
TaskService.newTask, and is thus not associated with any process, a corresponding row in
jbpm4_hist_task is created. However, when this task is marked as completed, using
TaskService.completeTask, the task is deleted from jbpm4_task (as expected) but the row in
jbpm4_hist_task does not get updated to set the state_ column value to
'completed'. As a result, this task does not get included in any HistoryTaskQuery
results when .status("completed") is specified.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira