[
https://jira.jboss.org/jira/browse/JBPM-2513?page=com.atlassian.jira.plug...
]
Joram Barrez resolved JBPM-2513.
--------------------------------
Resolution: Done
I don't see anything against that.
The value is certainly needed, since the value is saved in the HistoryVariableImpl
entity.
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)
Components: Runtime Engine
Affects Versions: jBPM 4.1, jBPM 4.0
Reporter: Hauke Rabe
Assignee: Joram Barrez
Priority: Critical
Fix For: jBPM 4.2
Original Estimate: 5 minutes
Remaining Estimate: 5 minutes
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