FLUID-3989: Inconsistent behavior between HTML5 and Flash uploader when uploading existing files to image gallery uploader demo

Metadata

Source
FLUID-3989
Type
Bug
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
James Yoon
Created
2010-12-21T11:18:26.019-0500
Updated
2010-12-21T15:09:42.263-0500
Versions
  1. 1.3
Fixed Versions
  1. 1.3
Component
  1. Uploader

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.

Environments

FF3.6/WinXP
IE8/WinXP

Comments

  • Colin Clark commented 2010-12-21T12:18:29.657-0500

    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.

  • Colin Clark commented 2010-12-21T12:33:35.399-0500

    Here's a revised patch, which actually works.

  • Colin Clark commented 2010-12-21T12:38:01.943-0500

    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 commented 2010-12-21T13:05:00.187-0500

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

  • Michelle D'Souza commented 2010-12-21T15:09:22.035-0500

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