Closed (duplicate)
Project:
Drupal core
Version:
7.0
Component:
image system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 May 2011 at 13:38 UTC
Updated:
6 May 2011 at 16:52 UTC
I have a content type with unlimited image fields AND unlimited text fields, and I can consistently reproduce this behaviour, even on a fresh D7 install:
* upload one image (a second image upload field will appear)
* add a second text field
* upload a second image
* node is saved for no apparent reason, and without the second image
Any explanations? I've been trying to debug but I don't think I'm experienced enough with drupal code to know what's going on. Could someone point to which function is run when I click the upload button? Thank you!
Comments
Comment #1
olrandir commentedUpdate: this doesn't happen if I add several text fields first, and then try uploading images.
After that however, as soon as I add a new text field, and then try to upload another image, I get the same behaviout, i.e. the node automatically saves for some reason and all images except for the first one are removed.
Comment #2
bryancasler commentedsubscribe
Comment #3
olrandir commentedThe patch in http://drupal.org/node/1059268 worked for me! It's for D8, so won't apply on its own, but I edited the files manually and it fixed my issue.
Comment #4
bfroehle commented