I think this is just a typo, but caused me a lot of worry until I realised what was going on -
In multifield_get_subfields(), $subfields[$result->bundle] is emptied as the results are looped over. As a consequence, only the last of multiple subfields is ever loaded for a bundle.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2190469-multifield-get-subfields-fixes.patch | 8.01 KB | dave reid |
| #1 | multifield-multiple_subfields_not_loaded-2190469-1.patch | 764 bytes | ben young |
Comments
Comment #1
ben young commentedPatch attached
Comment #2
drakmor commentedConfirm. Thx for patch.
Comment #3
dave reidThanks for pointing this out! I noticed a couple of other small fixes, and ensured that the test coverage would account for this.
Comment #4
dave reidComment #5
dave reidCommitted #3 to 7.x-1.x. Thanks everyone!
http://drupalcode.org/project/multifield.git/commit/33366da