i have created a fieldset and added child items to it. I am not making any of the field conditional on another. When I go to save a new field (whether I add it to the fieldset or not) I get the notice above.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | fixed_notice_d6-1218118-10.patch | 1.79 KB | tedbow |
| #10 | fixed_notice_d7-1218118-10.patch | 1.65 KB | tedbow |
| #6 | 1218118.patch | 1.35 KB | stella |
Comments
Comment #1
laroccadahouse commentedwhen i remove the fieldsets from the form the error goes away.
Comment #2
tedbow@laroccadahouse can you make sure you are using the latest version of 7.x-1.x-dev. There is no array index used on line 529 in the latest version. Please update and let me know the line number of the error(if any).
Thanks
Comment #3
laroccadahouse commentedI downloaded the latest dev version on july 25th. I no longer get the error.
Comment #4
tedbowcool. closing
Comment #5
brightboldI'm using the latest dev and am getting this error for line 534. I also am using fieldsets in my webform (and I notice that section of the code deals with fieldsets.)
Also FYI there's a typo on line 529 where it says "childern" instead of "children," but I don't think that's causing any problems because you're defining a variable that doesn't seem to be called again. But I figured you'd want to fix it anyway.
Comment #6
stella commentedHere's a patch for the error reported in comment #5
Comment #7
brightboldThanks stella, that patch solves the problem for me, thanks!
Comment #8
allio_froggio commentedDo you think you could tell me where exactly I am supposed to insert this patch? (I apologize for my ignorance and very much appreciate the help!)
Comment #9
allio_froggio commentedOhhhh...it says exactly that in the patch. Duh. Thanks!
Comment #10
tedbowStella, thank for this patch. I changed it slightly to remove unused $children var.
Thanks for any help testing.
Comment #11
tedbowHere is the Drupal 6 version of the same patch
Comment #12
tedbowJust committed these patches to dev 6 & 7 branches. Thanks again stella.
Comment #13
tedbow