Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 CreditAttribution: 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 CreditAttribution: bryancasler commentedsubscribe
Comment #3
olrandir CreditAttribution: 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 CreditAttribution: bfroehle commented