Daniel Fernández created OGNL-236:
-------------------------------------
Summary: Null varargs arguments are being ignored
Key: OGNL-236
URL: https://issues.apache.org/jira/browse/OGNL-236
Project: Commons OGNL
Issue Type: Bug
Components: Core Runtime
Affects Versions: 3.0
Environment: OGNL 3.0.6
Reporter: Daniel Fernández
I have a Java method with this signature:
public String concatReplaceNulls(String nullValue, Object ... values) {
...
}
...which I call from an OGNL expression like:
#strings.concatReplaceNulls('**', null, 'one', null, 'two')
But from what I can see at the debugger, nullValue comes as "**", which is OK,
but "values" comes as an array of size 2 with values {"one", "two"}, so it
seems my null values are completely ignored and not included in the array. This
happens using both literals or variables.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira