Progress bars are not shown when the Save or Add-another button is clicked -- this is when upload fields are populated but the individual file fields Upload buttons weren't used.

For example, if I populate the default single file upload field, then before clicking Upload I click 'Add-another', what happens is that the original 1st file is uploaded AND the progress bar isn't shown. On the other hand, if upon entering the edit form I click Add-another a few times so I have several file upload fields displayed, then Browse each and populate with file names, then at will I can click any/each of the Uploads one at a time and the files I choose are uploaded with a progress bar.

The addition of the progress bar is a godsend since users may be uploading huge 1GB+ files, and if they've populated 10 files and try to add another then they have to wait a very long time for the previously populated files to upload.

Comments

mudd’s picture

Category: bug » feature
quicksketch’s picture

Status: Active » Postponed

This is probably a "won't fix", but I'll leave it open for others to see. I tried to implement this when I was building the progress bar support, but it is an extremely difficult problem to solve. First, if the user is uploading 2 files, then upload progress can't be tracked for both of them (PHP's uplooadprogress is limited to a single upload per POST request). So the alternative would only be to submit each file individually. Unfortunately the Drupal AHAH framework wasn't made to accommodate for things like this. Worse yet, it's difficult to hook into the AHAH system to prevent it from making the AHAH requests at all (like when a user clicks "Add another item").

Anyway, there's not much point in going into depth here. I've already spent several hours trying to figure it out unsuccessfully, so we'll just say that's it's too difficult for me to implement at this time.

carvalhar’s picture

I combined the code from the two issues below to disable submit while uploading and also to upload or reset the file field when clicking submit button.

http://drupal.org/node/540138
http://drupal.org/node/610462

pwolanin’s picture

Issue summary: View changes
Status: Postponed » Closed (won't fix)

bug fixes only