Changing variable to null in subprocess doesn't change variable in superprocess, even
when acces is "WRITE"
-----------------------------------------------------------------------------------------------------------
Key: JBPM-2084
URL:
https://jira.jboss.org/jira/browse/JBPM-2084
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 3.2.x
Environment: windows XP/ java1.6/jboss 4.2.3GA/jbpm 3.2.7-SNAPSHOT from jboss
svn
Reporter: s p
Superprocess A sets variable V to value "foo".
Superprocess A calls subprocess B (A passes variable V to B with acces READ and WRITE).
Subprocess B sets variable V to #{null}.
Subprocess B finishes.
Superprocess checks value of V - it is equal "foo".
Expected behaviour:
value of V equal #{null} in superprocess A after execution of subprocess B.
This is becouse in ProcessState.java in methods execute and leave there is check:
if (value!=null) {
--
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