[
https://jira.jboss.org/jira/browse/JBPM-1153?page=com.atlassian.jira.plug...
]
Thomas Diesler resolved JBPM-1153.
----------------------------------
Fix Version/s: (was: jBPM 3.2.6 GA )
Resolution: Cannot Reproduce Bug
Cannot reproduce. The current code -r3651 reads
if ((contextInstance != null) && (contextInstance.hasVariable(name,
token)))
{
value = contextInstance.getVariable(name, token);
}
else if ((contextInstance != null) &&
(contextInstance.hasTransientVariable(name)))
{
value = contextInstance.getTransientVariable(name);
}
JbpmVariableResolver - is not looking for the variable on the current
token
---------------------------------------------------------------------------
Key: JBPM-1153
URL:
https://jira.jboss.org/jira/browse/JBPM-1153
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM 3.2.2
Reporter: mohankishore
Assignee: Thomas Diesler
Original Estimate: 10 minutes
Remaining Estimate: 10 minutes
http://fisheye.jboss.org/browse/JBPM/jbpm.3/jpdl/jar/src/main/java/org/jb...
line 48
Should be looking for the presence of the variable against the current token (not the
root token):
It should be:
&& (contextInstance.hasVariable(name, token))
and not just:
&& (contextInstance.hasVariable(name))
--
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