Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369388 - No error reporting when importing non-zip
Summary: No error reporting when importing non-zip
Status: RESOLVED INVALID
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-23 09:35 EST by John Arthorne CLA
Modified: 2012-04-20 16:41 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2012-01-23 09:35:14 EST
I20120122-2230
Chrome 16, Windows 7

- Created a new top level folder
- Attempted to import a file
- Progress ran for awhile and then it failed. This was in the browser console:

Uncaught TypeError: Object #<Object> has no method 'preventDefault'
http://orion.eclipse.org/xfer/import/Bw

Failed to load resource: the server responded with a status of 400 (Bad Request)
/navigate/built-table.js:2100

HTML Upload Error:Cannot read property 'value' of undefined
d.declare.uploadIFrame.d.io.iframe.send.error/navigate/built-table.js:2100

/navigate/built-table.js:618
TypeError
arguments: Array[2]
get message: function getter() { [native code] }
get stack: function getter() { [native code] }
set message: function setter() { [native code] }
set stack: function setter() { [native code] }
type: "non_object_property_load"
__proto__: Error
Comment 1 John Arthorne CLA 2012-01-23 09:37:19 EST
Ah, it was a bzip file rather than zip. It works ok with a regular zip. So the problem is that there is no error reporting to the user (apart from browser console).
Comment 2 John Arthorne CLA 2012-04-20 16:41:57 EDT
This is now invalid because we now support importing non-zips.