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
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.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira