]
Alejandro Guizar updated JBPM-2962:
-----------------------------------
Fix Version/s: jBPM 4.x
Retrieving variable with null value failed in scripts
-----------------------------------------------------
Key: JBPM-2962
URL:
https://jira.jboss.org/browse/JBPM-2962
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.4
Reporter: William Ferreira
Labels: bindings, groovy, variables
Fix For: jBPM 4.x
setting a variable with a null value in context cause the application to fail while
trying to retrieve it from a (Groovy) Script :
Caused by: groovy.lang.MissingPropertyException: No such property: XXX
The bug is related to the EnvironmentBindings class :
'containsKey(Object key)' method makes use of the method 'get(Object
key)' to determine if a Variable exists, but 'get(Object key)' returns the
value of the key...
Regards
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: