Bug 1112041

Summary: Upload feature should handle files that are deleted before the process begins nicely
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-UIAssignee: David Mason <damason>
Status: CLOSED CURRENTRELEASE QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4CC: zanata-bugs
Target Milestone: ---   
Target Release: 3.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.5.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-1862) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-26 23:27:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Damian Jansen 2014-06-23 01:46:42 UTC
Description of problem:
If a file is deleted between the point of selection and that of upload, a seam.view error page is displayed. Zanata should handle this a bit more gracefully.

Version-Release number of selected component (if applicable):
dev

How reproducible:
Easy always

Steps to Reproduce:
Pre: a txt file exists for upload
1. In a project, go to settings -> documents, press the + button
2. Select the txt file
3. On the filesystem, delete or move the selected file
4. Press Upload

Actual results:
On Chrome, a "This web page has not been found" error is shown with 
No web page was found for the web address: http://localhost:8080/zanata/iteration/view.seam
Error code: ERR_FILE_NOT_FOUND

Expected results:
An nicer Zanata error should be presented

Additional info: