Henri Biestro created JEXL-137:
----------------------------------
Summary: Invalid script variable list for nested array/map access
Key: JEXL-137
URL: https://issues.apache.org/jira/browse/JEXL-137
Project: Commons JEXL
Issue Type: Bug
Affects Versions: 2.1.1
Reporter: Henri Biestro
Assignee: Henri Biestro
Fix For: 2.1.2, 3.0
On behalf of Tomas Kukosa:
If the expression contains nested array/map access then the getVariables()
method does not return the right value.
The result of test code below is:
script: A+B[C]+D[E[F]]+x[y[z]]
variables: [[A], [C], [B], [D], [x]]
E, F, y, z variables got lost somewhere.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira