Inconsistent behavior between HTML5 and Flash uploader when uploading existing files to image gallery uploader demo

Description

To reproduce:

1. Visit http://build.fluidproject.org:8080/sakai-imagegallery2-web/site/AddImages/
2. Upload a set of images
3. Upload the same set of images again
4. In the Flash-based uploader, the user receives a "File upload error", but in the HTML5-based uploader, the user successfully uploads the existing files.

Environment

FF3.6/WinXP IE8/WinXP

Attachments

4

Activity

Show:

Michelle D'Souza December 21, 2010 at 8:09 PM

I've reviewed the fix and Mike has tested it. We've committed patch d.

Colin Clark December 21, 2010 at 6:05 PM

Here's a working patch, which enables the HTML 5 version of Uploader to handle files comparably to the Flash version.

Colin Clark December 21, 2010 at 5:38 PM

Here's a screenshot of how the error appears when a user uploads the same file twice with the Flash version of the Uploader.

Colin Clark December 21, 2010 at 5:33 PM

Here's a revised patch, which actually works.

Colin Clark December 21, 2010 at 5:18 PM

I believe this inconsistency is due to a lack of error handling in the Uploader's HTML 5 strategy. Here's a patch with a rough sketch for a simple fix.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created December 21, 2010 at 4:18 PM
Updated December 21, 2010 at 8:09 PM
Resolved December 21, 2010 at 8:09 PM

Flag notifications