rezarezash / google-refine

Automatically exported from code.google.com/p/google-refine
0 stars 0 forks source link

Export doesn't work when using Internet Explorer #236

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Trying to export to excel, etc.

What is the expected output? What do you see instead?

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GIS 
IE 6.0 Build 20080321; .NET CLR 2.0.50727; .NET CLR 1.1.4322; MS-RTC LM 8; 
InfoPath.2; GIS IE 6.0 Build 20080321)
Timestamp: Wed, 17 Nov 2010 22:49:17 UTC

Message: Invalid argument.
Line: 4469
Char: 5
Code: 0
URI: http://127.0.0.1:3333/project-bundle.js

Message: Invalid argument.
Line: 4448
Char: 5
Code: 0
URI: http://127.0.0.1:3333/project-bundle.js

Message: Invalid argument.
Line: 4448
Char: 5
Code: 0
URI: http://127.0.0.1:3333/project-bundle.js

Message: Invalid argument.
Line: 4448
Char: 5
Code: 0
URI: http://127.0.0.1:3333/project-bundle.js

Message: Invalid argument.
Line: 4448
Char: 5
Code: 0
URI: http://127.0.0.1:3333/project-bundle.js

Message: Invalid argument.
Line: 4448
Char: 5
Code: 0
URI: http://127.0.0.1:3333/project-bundle.js

What version of the product are you using? On what operating system?
2.0

Please provide any additional information below.

Original issue reported on code.google.com by aidan.wa...@gmail.com on 17 Nov 2010 at 10:52

GoogleCodeExporter commented 9 years ago
Does a new browser tab get opened when you invoke an export command?

Original comment by dfhu...@gmail.com on 17 Nov 2010 at 11:05

GoogleCodeExporter commented 9 years ago
No when I click on 'Export', then 'Excel' nothing happens. I think it stems 
from something earlier in the program. When I start up Refine I have an 'Error 
in Page':
Message: 'GoogleRefineReleases' is undefined
Line: 632
Char: 5
Code: 0
URI: http://127.0.0.1:3333/index-bundle.js

However the program seems to function OK but when I get to the export 
functionality it doesn't. I researched if this is a java script issue without 
success.

Original comment by aidan.wa...@gmail.com on 18 Nov 2010 at 7:41

Attachments:

GoogleCodeExporter commented 9 years ago
Further information. It works OK using Firefox.

Original comment by aidan.wa...@gmail.com on 18 Nov 2010 at 7:49

GoogleCodeExporter commented 9 years ago
I've confirmed this with IE 8.  The error that I got was

Message: Invalid argument.
Line: 4448
Char: 5
Code: 0
URI: http://127.0.0.1:3333/project-bundle.js

which appears to be this line:

    window.open("about:blank", "refine-export");

in ExporterManager.handlers.exportRows

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; 
.NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 
3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Fri, 26 Nov 2010 22:53:18 UTC

Original comment by tfmorris on 26 Nov 2010 at 10:59

GoogleCodeExporter commented 9 years ago
Clicking the edit button on a cell throws a Not Implemented error at Line: 7768 
Char: 5 in project-bundle.js which appears to be here:

DataTableCellUI.prototype._startEdit = function(elmt) {
    self = this;  // <------------------ this line

Looks like Internet Explorer support needs some work.

Original comment by tfmorris on 27 Nov 2010 at 1:29

GoogleCodeExporter commented 9 years ago
The problem with Export is that IE does not allow arbitrary values for the 
second argument of window.open (e.g., see discussion at 
http://stackoverflow.com/questions/710756/ie8-var-w-window-open-message-invalid-
argument).  Changing the value from "refine-export" to "_blank" should in 
theory fix this problem for IE.

Original comment by chima...@gmail.com on 20 Mar 2011 at 12:24

GoogleCodeExporter commented 9 years ago
Internet Explorer support was improved in Refine 2.5.  Can you retest and let 
us know if this issue still exists?

Original comment by tfmorris on 18 Sep 2012 at 7:50