[mashup-dev] [jira] Updated: (MASHUP-740) HTTP param binding of
array params fails
Keith Godwin Chapman (JIRA)
jira at wso2.org
Wed Apr 30 08:46:17 PDT 2008
[ https://wso2.org/jira/browse/MASHUP-740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Godwin Chapman updated MASHUP-740:
----------------------------------------
Fix Version/s: 1.1
> HTTP param binding of array params fails
> ----------------------------------------
>
> Key: MASHUP-740
> URL: https://wso2.org/jira/browse/MASHUP-740
> Project: WSO2 Mashup Server
> Issue Type: Bug
> Reporter: Jonathan Marsh
> Assignee: Keith Godwin Chapman
> Fix For: 1.1
>
>
> foo.safe = true;
> foo.inputTypes={"a" : "string*"};
> foo.outputType="string";
> function foo(a){
> print(typeof(a));
> return a;
> }
> Use the try-it and "Add a" so you have multiple parameters in the array. Invoke the method. Firefox reports multiple "a" params, which is correct IMO. The Mashup Server throws an exception.
> Fault: Internal Server Error [detail]
> <Exception>org.apache.axis2.AxisFault: Invalid JavaScript value of type [Ljava.lang.Object; (bugs-booleanarray#5)
> at org.apache.axis2.AxisFault.makeFault(AxisFault.java:431)
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:186)
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:210)
> at ...
> This is on 1.0.2.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Mashup-dev
mailing list