Logs are missing in CancelProcessInsstance and CancelTokenCommand
-----------------------------------------------------------------
Key: JBPM-1962
URL:
https://jira.jboss.org/jira/browse/JBPM-1962
Project: JBoss jBPM
Issue Type: Patch
Security Level: Public (Everyone can see)
Reporter: Bernd Ruecker
Assignee: Bernd Ruecker
Priority: Minor
Fix For: jBPM 3.3.2 GA
The CancelTokenCommand and CancelProcessInstanceCommand use
jbpmContext.loadToken(tokenId);
instead of
jbpmContext.loadTokenForUpdate(tokenId);
So the logs written during cancellation were lost. Fixed by changing to the
"ForUpdate" method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira