commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Biestro (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JEXL-124) Array parameters to methods don't work anymore
Date Thu, 15 Dec 2011 23:13:33 GMT

    [ https://issues.apache.org/jira/browse/JEXL-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170565#comment-13170565
] 

Henri Biestro commented on JEXL-124:
------------------------------------

Committed fix revision 1214986.
Seems like a regression induced by the fix for JEXL-101.
                
> 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
>            Assignee: Henri Biestro
>
> 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

        

Mime
View raw message