FLUID-3988: When uploading non-image files to the image gallery demo using HTML5 uploader, things go wacko

Metadata

Source
FLUID-3988
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Mike Lam
Reporter
James Yoon
Created
2010-12-21T11:15:39.478-0500
Updated
2011-03-03T16:29:41.466-0500
Versions
  1. 1.3
  2. 1.3.1
Fixed Versions
  1. 1.3.1
Component
  1. Uploader

Description

To reproduce:

1. Visit http://build.fluidproject.org:8080/sakai-imagegallery2-web/site/AddImages/
2. Upload a set of non-image files around ~5-10MB each
3. The uploader progress bar rapidly goes left-right multiple times in a seemingly arbitrary way, and then finishes uploading far quicker than it should

Environments

FF3.6/WinXP

Comments

  • Mike Lam commented 2010-12-22T14:40:07.756-0500

    Asynchronous XHR is responsible for this wackiness. XHR processes are executed without any guarantee that the previous file has been completed uploaded to the server. We may want to wait for the current file to completely upload to the server before processing the next so that it is consistent with the SWF Uploader.

  • Colin Clark commented 2011-01-21T17:36:27.548-0500

    These two issues appear to have the same underlying fix--we should be uploading files one at a time.

  • Mike Lam commented 2011-01-27T11:09:06.135-0500

    Related to FLUID-4017. Patch has been posted for review.

  • Mike Lam commented 2011-03-03T16:29:41.460-0500

    FLUID-4017 has been fixed and pushed into the main repository.