Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

error while executing export example in SDK in safari

$
0
0
I'm trying to run the Grids/Export example from the Feature Explorer.

Code:

http://localhost:8080/smartclientSDK/isomorphic/system/reference/SmartClient_Explorer.html#export
I get this error in my Safari console when I click "Export":

Code:

[Error] Failed to load resource: Frame load interrupted (Results.csv, line 0)

http://localhost:8080/smartclientSDK/isomorphic/IDACall/Results.csv?isc_rpc=1&isc_v=v9.0p_2014-01-24&isc_tnum=2

My access log records this:
Code:

0:0:0:0:0:0:0:1%0 - - [05/Feb/2014:13:02:02 -0800] "POST /smartclientSDK/isomorphic/IDACall/Results.csv?isc_rpc=1&isc_v=v9.0p_2014-01-24&isc_tnum=5 HTTP/1.1" 200 11705
The catalina log is attached. I see the RPC request in the "Developer Console", but it says "[Transaction in Progress]" in the Response/Raw field.

I'm using Safari 6.1.1. When I run the same example in Chrome 32.0.1700.107, I get this in the console:

Code:

Resource interpreted as Document but transferred with MIME type text/csv: "http://localhost:8080/smartclientSDK/isomorphic/IDACall/Results.csv?isc_rpc=1&isc_v=v9.0p_2014-01-24&isc_tnum=4". ISC_Core.js?isc_version=v9.0p_2014-01-24.js:1018
isc_HiddenFrame_sendData ISC_Core.js?isc_version=v9.0p_2014-01-24.js:1018
isc_HiddenFrame_sendForm ISC_Core.js?isc_version=v9.0p_2014-01-24.js:1013
isc_c_Comm_sendHiddenFrame ISC_DataBinding.js?isc_version=v9.0p_2014-01-24.js:1814
isc_c_RPCManager__sendQueue ISC_DataBinding.js?isc_version=v9.0p_2014-01-24.js:1255
isc_c_RPCManager_sendQueue ISC_DataBinding.js?isc_version=v9.0p_2014-01-24.js:1235
isc_c_RPCManager_sendNoQueue ISC_DataBinding.js?isc_version=v9.0p_2014-01-24.js:1199
isc_c_RPCManager_sendRequest ISC_DataBinding.js?isc_version=v9.0p_2014-01-24.js:1190
isc_DataSource_performSCServerOperation ISC_DataBinding.js?isc_version=v9.0p_2014-01-24.js:1797
isc_DataSource_sendDSRequest ISC_DataBinding.js?isc_version=v9.0p_2014-01-24.js:737
isc_DataSource_performDSOperation ISC_DataBinding.js?isc_version=v9.0p_2014-01-24.js:720
isc_DataSource_exportData ISC_DataBinding.js?isc_version=v9.0p_2014-01-24.js:698
isc_Canvas_exportData ISC_Core.js?isc_version=v9.0p_2014-01-24.js:2535
isc.Button.create.click VM563:146
isc_StatefulCanvas_handleActivate ISC_Foundation.js?isc_version=v9.0p_2014-01-24.js:226
isc_StatefulCanvas_handleClick ISC_Foundation.js?isc_version=v9.0p_2014-01-24.js:227
isc_c_EventHandler_bubbleEvent ISC_Core.js?isc_version=v9.0p_2014-01-24.js:1269
isc_c_EventHandler_handleClick ISC_Core.js?isc_version=v9.0p_2014-01-24.js:1145
isc_c_EventHandler__handleMouseUp ISC_Core.js?isc_version=v9.0p_2014-01-24.js:1136
isc_c_EventHandler_handleMouseUp ISC_Core.js?isc_version=v9.0p_2014-01-24.js:1128
isc_c_EventHandler_dispatch ISC_Core.js?isc_version=v9.0p_2014-01-24.js:1302
(anonymous function) VM48:3

When I run in Firefox 27.0, I don't see any errors/warnings in the console.

I can't quite tell, but this might be related to whether or not I get a "Save As" dialog. I don't get one in Safari (why not?), Chrome gives me an option, and Firefox is always showing me the "Save As" dialog.

I should note that your website also gives me the same error in Safari:
Code:

http://smartclient.com/#export
So I guess two questions... is this error a problem? and why am I not getting the "Save As" dialog in Safari (the example has exportDisplay:"download" which should cause one to appear).

Attached Files
File Type: txt catalina.txt (6.3 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles