Bug 432955

Summary: Failed upload does not show error
Product: [ECD] Orion (Archived) Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Eric Moffatt <emoffatt>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: steve_northover
Version: 5.0Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2014-04-16 14:25:38 EDT
Spin-off from bug 432952.

When a file transfer started by File -> Import -> File System fails with a server error, there is no indication of the error in the Orion UI. The file's placeholder in the navigator simply vanishes with no explanation.

A quick look at the code suggests that fileCommands.js #uploadFile() needs some error handling.
Comment 1 Mark Macdonald CLA 2015-05-04 11:31:32 EDT
Problem still exists. To reproduce:

1. Rename a .txt file to .zip
2. Right-click a folder, Import > File or Zip Archive, pick the bad .zip file
3. Answer YES to "Unzip?" prompt
4. The server returns a 400 error, but nothing is shown to the user.