| Summary: | DnD import not working on IE9 | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Tomasz Zarna <tomasz.zarna> |
| Component: | Client | Assignee: | Susan McCourt <susan> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | simon_kaegi |
| Version: | 0.5 | ||
| Target Milestone: | 2.0 M2 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Tomasz Zarna
What browser? Was this on orion.eclipse.org or localhost? Can you try a couple of different zips to see if it is a problem with a particular zip? If consistently reproducible, can you print the request headers you see in the browser console for the POST to /xfer? FWIW this is working for me on latest on localhost, using Chrome. Here are the headers of the import request in my case: Accept:*/* Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 Accept-Encoding:gzip,deflate,sdch Accept-Language:en-US,en;q=0.8 Connection:keep-alive Content-Length:146414 Content-Type:application/x-zip-compressed Cookie:JSESSIONID=1pxs4rm34ptzuhpqdrlyc8j0t Host:localhost:8080 Origin:http://localhost:8080 Referer:http://localhost:8080/navigate/table.html Slug:Octocats.zip (In reply to comment #1) > What browser? FF 11.0 > Was this on orion.eclipse.org or localhost? locahost built from source code pulled this morning. > Can you try a couple of different zips to see if it is a problem with a particular zip? Happened each time trying 3 different zip files. > If consistently reproducible, can you print the request headers you see in the browser console for the POST to /xfer? Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding gzip, deflate Accept-Language en-us,en;q=0.5 Connection keep-alive Content-Length 276580 Cookie JSESSIONID=1mmibxyml6kjs88ah4xpdsz6r Host localhost:8080 Referer http://localhost:8080/navigate/table.html Slug w.zip User-Agent Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20100101 Firefox/11.0 X-Requested-With XMLHttpRequest > FWIW this is working for me on latest on localhost, using Chrome. Affirmative, works fine on Chrome for me too. So the DnD import doesn't seem to work for me at all on Firefox (Win 7, tried FF 11 and FF 12). The browser captures the drop event first and opens a "save" dialog before any client code is run. It also failed for me on IE 9. Anton does this work in Chrome only? We may need to consider removing it if it only works on Chrome (or at least say that in the drop zone text). Not sure what's going on with FF, I'm pretty sure that I tested it when I did this work originally. It should work in FF. I will need to handle it differently for IE. I'll take a look at the FF issues. (In reply to comment #3) > So the DnD import doesn't seem to work for me at all on Firefox (Win 7, tried > FF 11 and FF 12). The browser captures the drop event first and opens a "save" > dialog before any client code is run. > > It also failed for me on IE 9. > > Anton does this work in Chrome only? We may need to consider removing it if it > only works on Chrome (or at least say that in the drop zone text). Have pushed a fix for FF now. It needed a little adjustment with the event handling. I'll need to treat IE very differently. (In reply to comment #4) > Not sure what's going on with FF, I'm pretty sure that I tested it when I did > this work originally. It should work in FF. I will need to handle it > differently for IE. > > I'll take a look at the FF issues. > > (In reply to comment #3) > > So the DnD import doesn't seem to work for me at all on Firefox (Win 7, tried > > FF 11 and FF 12). The browser captures the drop event first and opens a "save" > > dialog before any client code is run. > > > > It also failed for me on IE 9. > > > > Anton does this work in Chrome only? We may need to consider removing it if it > > only works on Chrome (or at least say that in the drop zone text). We are on IE10 now, and this dialog was reworked to not be dependent on dojo/dijit. I was able to drag a file into the dialog in IE10. |