Variable value is set after history event
-----------------------------------------
Key: JBPM-2513
URL:
https://jira.jboss.org/jira/browse/JBPM-2513
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 4.0
Reporter: Hauke Rabe
Priority: Critical
class org.jbpm.pvm.internal.model.ScopeInstanceImpl
method createVariableObject(String key, Object value, String typeName, boolean
isHistoryEnabled)
code
if (isHistoryEnabled) {
HistoryEvent.fire(new VariableCreate(variable));
}
variable.setValue(value);
Value must be set before fire history event .
--
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