Bug 1112041 - Upload feature should handle files that are deleted before the process begins nicely
Summary: Upload feature should handle files that are deleted before the process begins...
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI   
(Show other bugs)
Version: 3.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.5
Assignee: David Mason
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-23 01:46 UTC by Damian Jansen
Modified: 2015-01-26 23:27 UTC (History)
1 user (show)

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: ---


Attachments (Terms of Use)

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:


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