Bug 1112041 - Upload feature should handle files that are deleted before the process begins nicely
Upload feature should handle files that are deleted before the process begins...
Status: CLOSED CURRENTRELEASE
Product: Zanata
Classification: Community
Component: Component-UI (Show other bugs)
3.4
Unspecified Unspecified
unspecified Severity medium
: ---
: 3.5
Assigned To: David Mason
Zanata-QA Mailling List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-22 21:46 EDT by Damian Jansen
Modified: 2015-01-26 18:27 EST (History)
1 user (show)

See Also:
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 18:27:41 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Damian Jansen 2014-06-22 21:46:42 EDT
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:

Note You need to log in before you can comment on or make changes to this bug.