[mashup-dev] [jira] Commented: (MASHUP-66) IE - A JS error appears when accessing 'Try Version Services' page.

Jonathan Marsh (JIRA) jira at wso2.org
Wed Jun 6 11:19:16 PDT 2007


    [ http://www.wso2.org/jira/browse/MASHUP-66?page=comments#action_11135 ] 
            
Jonathan Marsh commented on MASHUP-66:
--------------------------------------

Hmmm, this works fine for me from http://localhost:9762/services/version (note no trailing slash).

This seems to be a sideeffect of fixing bug MASHUP-52, where we added the slash to the endpoint addresses, combined with our desire to put a working tryit at the endpoint address when accessed through a browser.

I see a few possibilities for a fix:
1) redirect "version/" to "version".  This would have to be done carefully so only browser traffic would be redirected.
2) remove the trailing slash from addresses and change the whttp:locations to use a query parameter instead - "?op=operation."
3) remove the trailing slash from addresses and change the whttp:locations from "operation" to "./operation".

At present (3) looks the most promising to me.

> IE - A JS error appears when accessing 'Try Version Services' page.
> -------------------------------------------------------------------
>
>                 Key: MASHUP-66
>                 URL: http://www.wso2.org/jira/browse/MASHUP-66
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>    Affects Versions: alpha_1
>         Environment: Win XP, JDK1.5, IE 6.0.29
>            Reporter: Yumani Ranaweera
>         Assigned To: Thilina Gunarathne
>         Attachments: IE-version.JPG
>
>
> Steps to recreate
> 1. Unzip the wso2-mashup-server-SNAPSHOT.zip file and start the mashup server.
> 2. Try to access 'http://localhost:9762/services/version/'
> It gives a JS error when loading the 'Try Version Services' page. Please refer the attachment for more information.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.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