Posted by ebeyrent on May 15, 2009 at 12:40pm
Jump to:
| Project: | FileField |
| Version: | 5.x-2.4 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I have a strange issue, reported by a client who's doing something I consider to be quite strange.
My content type has an imagefield and a filefield - one is for a thumbnail, the other is for a video. The client browses for a file in the imagefield, browses for a file in the filefield, and then presses submit on both fields. The result of this is that one of the fields "hangs". In looking at Firebug, it looks like only one of the POSTs occurs.
At this point, I have no idea where the bug could possibly be - has anyone encountered anything like this before?
Comments
#1
You're probably experiencing a variant of #370015: Upload issue with clicking 'Add another item' multiple times (Repost w/ screencast). When you click upload (or any button really), it actually sends BOTH files to the server, not just the one you clicked upload on. However there's a problem in that Drupal will only save the first one. In addition, the upload.js file is only capable of uploading one file at a time, since it creates a single iFrame to submit data into, you can't upload more than one file at a time. Unfortunately D5's use of upload.js will not be changed at this point, this whole problem has been fixed in D6 with the AHAH framework and the use of jquery.form.js.
So the only thing I can really suggest is "don't do that", since it would take a large amount of effort to fix in D5, which is no longer being worked on, and this problem has already been fixed in D6. This issue is "won't fix", but I'm putting to fixed so it stays in the queue for 2 weeks.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.