Deleting uploaded files from the file queue will cause it to skip files and hang

Description

Deleting uploaded files from the file queue will cause it to skip files and hang

Steps to reproduce:

1) Open the uploader demo:
http://build.fluidproject.org/fluid/fluid-components/html/templates/Uploader.html

2) Add several files to the file queue

3) Start uploading the files and click "Stop Upload" after one or two files upload

4) Using the keyboard tab into the file queue and press the 'delete' key to remove the uploaded files from the file queue

5) Click the 'Upload' button to resume the upload

Notice an equal number of files, to the ones that were removed, are skipped and that uploader hangs at the end.

This issues is dependent on

Environment

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

Attachments

1

Activity

Show:

Justin Obara January 29, 2009 at 2:18 PM

Verified fix using:

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

Eli Cochran January 28, 2009 at 5:32 PM

We now check to see if the file was completed and if so, we don't allow the file to be removed from the queue

Justin Obara January 19, 2009 at 1:40 PM

It seems that you can still remove the uploaded files using a combination of the keyboard and mouse.

Use the mouse to click on the check mark.
Using the keyboard tap the delete key.

Notice that the file is removed from the queue and the upload issue still occurs.

Eli Cochran January 16, 2009 at 5:20 PM

Using Antranig's very clean and easy to use Fluid.enabled() method, I have now rendered uploaded rows undeletable, thus closing this bug.

Justin Obara January 13, 2009 at 2:55 PM

The patches for did not resolve this issue.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created December 17, 2008 at 6:25 PM
Updated January 29, 2009 at 2:18 PM
Resolved January 28, 2009 at 5:32 PM