When the Add-another button is clicked, it fires off the uploads of all the other fields that are populated.

(This may be considered a feature, but please consider the following)

In other words, 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 all of them with file names, then I can click each of the Uploads buttons one at a time at will, and only the files I intentionally choose are uploaded. Yes, any remaining populated fields will also be upload upon clicking 'Save', but the Add-another button doesn't infer that it will execute Uploads on any populated fields.

This may be important to users who are uploading files of size 1GB+ through a fairly slow proxy.

Comments

quicksketch’s picture

Status: Active » Postponed

Similar to #435746: Progress bar not shown when Save or Add-another are clicked. FileField isn't responsible for the "Add another item" button at all, it's provided by CCK. Unless the way the button works is rewritten in content.module, this problem is not possible to fix. The only alternative to this that I could think of would be to disable the "Add another item" button if there are currently items that need to be uploaded. However, like I said in #435746, it's difficult to prevent AHAH events from firing and change their behavior.

pwolanin’s picture

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