Array parameters to methods don't work anymore
----------------------------------------------

                 Key: JEXL-124
                 URL: https://issues.apache.org/jira/browse/JEXL-124
             Project: Commons JEXL
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: Jeff Schnitzer


I have some code that worked in 2.0.1 and fails in 2.1.  It looks like this:

${tool.jsbuilder(['form2js', 'js2form', 'jquery.dirtyform'])}

(it's being called from a cambridge template, but that doesn't matter).  The 
jsbuilder() method simply takes a String[].

Now it throws an exception, the exact nature of which is getting eaten by 
something.  The error message looks like "Could not execute the expression: 
Error evaluating exception on line: 13, column: 15, expression: 
tool.jsbuilder(["... and then the parameters.

Sorry about not making a nice test case out of this but I'm in a hurry and 
reverting to 2.0.1 for now.

--
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

        

Reply via email to