Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-124

Array parameters to methods don't work anymore

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1.1
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              henrib Henri Biestro
              Reporter:
              stickfigure Jeff Schnitzer
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: