]
Alejandro Guizar updated JBPM-2142:
-----------------------------------
Assignee: Alejandro Guizar
Fix Version/s: jBPM 3.2.10
To be addressed in a future release.
No save of processInstance in TaskInstanceEndCommand
-----------------------------------------------------
Key: JBPM-2142
URL:
https://issues.jboss.org/browse/JBPM-2142
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 3.3.1 GA, jBPM 3.2.7
Reporter: Joram Barrez
Assignee: Alejandro Guizar
Priority: Minor
Fix For: jBPM 3.2.10
The TaskInstanceEndCommand does not save the processInstance.
This means (among others) that the process logs will not be persisted to the database,
since they are only stored upon a call to the save() method on the jBPM Context.
The solution is simple, add
jbpmContext.save(taskInstance.getProcessInstance());
to the command.
I haven't checked the other commands, but the bug can occur in other commands.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: