FLUID-1917: Quickly removing files from the file queue causes removal to break and throw an error

Metadata

Source
FLUID-1917
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
Eli Cochran
Reporter
Justin Obara
Created
2008-12-03T16:50:32.000-0500
Updated
2008-12-15T16:41:23.000-0500
Versions
N/A
Fixed Versions
  1. 0.6
Component
  1. Uploader

Description

Quickly removing files from the file queue causes removal to break and through an error

Steps to reproduce:

1) Open the uploader demo:
http://build.fluidproject.org:8080/sakai-imagegallery2-web/site/AddImages/
http://build.fluidproject.org/fluid/fluid-components/html/templates/Uploader.html

2) Add several files to the file queue

3) using either the keyboard or the mouse, quickly remove the files from the file queue

Notice that after several files (depending on how fast you remove them) you will no longer be able to remove files and an error is thrown

Environments

FF2, FF3, Opera 9.5, Safari 3 (Mac OS 10.5)
FF2, FF3, IE6, IE7, Opera 9.5 (Win XP)
FF3, IE7 (Win Vista)
FF3, IE6 (Win 2000)

Comments

  • Justin Obara commented 2008-12-04T08:42:58.000-0500

    Bug Parade: 0.6 release

  • Eli Cochran commented 2008-12-08T19:53:03.000-0500

    jQuery animation code can't keep up and needs to have animations dequeued during removes

  • Antranig Basman commented 2008-12-12T15:36:48.000-0500

    Fixed at revision 6215

  • Eli Cochran commented 2008-12-12T15:59:16.000-0500

    I have reviewed Antranig's fix and I like it... oh, it works and it's written very nicely

  • Justin Obara commented 2008-12-15T16:41:23.000-0500

    Verified fix using:

    FF2, FF3, Opera 9.5, Safari 3 (Mac OS 10.5)
    FF2, FF3, IE6, Opera 9.5 (Win XP)
    FF3, IE7 (Win Vista)