This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 114964 - Test Client : Google map do not show as map instead only javascript
Summary: Test Client : Google map do not show as map instead only javascript
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Ayub Khan
URL:
Keywords:
: 114963 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-07 00:21 UTC by Ayub Khan
Modified: 2007-10-18 17:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ayub Khan 2007-09-07 00:21:20 UTC
Regression in test client. Google map do not show rendered as map instead text (javascript).
Comment 1 Ayub Khan 2007-09-07 00:27:11 UTC
To fix:

Index: src/org/netbeans/modules/websvc/rest/spi/resources/test-resbeans.js
===================================================================
RCS file: /cvs/websvc/restapi/src/org/netbeans/modules/websvc/rest/spi/resources/test-resbeans.js,v
retrieving revision 1.29
diff -r1.29 test-resbeans.js
528,529c528,529
<     //if(name == 'raw' && currentMethod == 'GET' && currentMimeType == 'application/xml') //This step is needed for
Firefox to show content as xml
<     //        updatepage('rawContent', createIFrame(currentValidUrl));
---
>     if(name == 'raw' && currentMethod == 'GET' && currentMimeType == 'text/html')
>       updatepage('rawContent', createIFrame(currentValidUrl));
======================================================================================================
Comment 2 Lukas Jungmann 2007-09-07 06:40:51 UTC
v. in trunk, commit this to the beta1 branch, please.

Thanks.
Comment 3 Ayub Khan 2007-09-07 10:30:59 UTC
Commited the fix to beta1 branch:

Checking in test-resbeans.js;
/cvs/websvc/restapi/src/org/netbeans/modules/websvc/rest/spi/resources/test-resbeans.js,v  <--  test-resbeans.js
new revision: 1.28.2.2; previous revision: 1.28.2.1
done
Comment 4 Ayub Khan 2007-09-07 10:32:08 UTC
*** Issue 114963 has been marked as a duplicate of this issue. ***
Comment 5 Lukas Jungmann 2007-10-18 17:58:22 UTC
v.