[mashup-dev] [jira] Commented: (MASHUP-364) A JS error appears when
an invalid
value is given in a scenario where endpoint= HTTPEndpoint and input
type=xs:date
Jonathan Marsh (JIRA)
jira at wso2.org
Tue Jan 22 12:46:00 PST 2008
[ http://wso2.org/jira/browse/MASHUP-364?page=comments#action_15024 ]
Jonathan Marsh commented on MASHUP-364:
---------------------------------------
On Vista (Firefox/IE7) I get a reasonable error message instead of the error dialog: "Fault: Internal Server Error" and the detail reports "Unable to convert value "1122" to date". Would be nicer if the error message was promoted (as it is with the SOAP endpoints) but it's good enough for now.
> A JS error appears when an invalid value is given in a scenario where endpoint= HTTPEndpoint and input type=xs:date
> -------------------------------------------------------------------------------------------------------------------
>
> Key: MASHUP-364
> URL: http://wso2.org/jira/browse/MASHUP-364
> Project: WSO2 Mashup Server
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.2
> Environment: WinXP, JDK1.5, IE7
> Reporter: Yumani Ranaweera
> Assigned To: Jonathan Marsh
> Priority: Critical
> Fix For: 1.0
>
> Attachments: xsdate.JPG
>
>
> Steps to recreate:
> --------------------
> 1. Create a service using the source given below;
> photoForDate.inputTypes = {"requestedDate" : "xs:date"};
> photoForDate.outputType = "xml";
> function photoForDate(requestedDate) {
> print(requestedDate);
> print(typeof(requestedDate));
> return <success/>;
> }
> 2. Access ?tryit of the service. Select "HTTPEndpoint"
> 3. In the input field enter invalid data (e.g 121212) and submit.
> Issue:
> A JS error as shown in the attachement appears.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://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