Problem: Import form doesn't work with >100 images in import folder.
What I did: Put 130 images in the import folder and tried to import at admin/content/imagefield_import.
What happened: Nothing. The form just refreshes. No submit happens. I don't get to the next page (which says "do you want to do this").
What I expected: Ability to import.
Workaround: Use less images in the directory at once.
I did some poking around and found that the limit was exactly 100 images. With 99 it works. I'm not absolutely sure of this, because I got odd results later.
It appears that $_POST['form_id'] is destroyed at some point here... I'm lost as to why. Since I discovered the workaround of just using less images I think I'll go that way for now.
For ease of testing, I'm attaching a set of 142 images that I used.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | Screen shot 2010-01-30 at 12.28.56 AM.png | 338.69 KB | alxp |
| images.tgz | 1.43 MB | rfay |
Comments
Comment #1
alxp commentedI just tried to import these images and all 142 were imported successfully. Not sure if there's any way to reproduce the limit. This is with the -dev branch of the module.
Have you tried doing an import recently?
Comment #2
wulff commentedThanks for posting a set of images for testing.
I'll try it out locally and see if I can replicate the behavior.
Comment #3
wulff commentedI haven't been able to reproduce this bug. All 142 images were imported without any problems.
Do you see any error messages in the watchdog or your server's error log?
Comment #4
rfayIt looks fixed to me.
I downloaded the current dev and I repeated what I had done before, both importing to both a single node and to multiple nodes, and I had no trouble.
Thanks for the responsiveness on this!
-Randy