Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm working towards a CCK multigroup #119102: Combo field - group different fields into one with a date field and need Date to support leaving empty values in the DB following #196421: Deleting unwanted multiple values / multiple values delta issues so starting this issue to address it. I hope to have a patch soon. (didn't see an existing issue for this, my apologies if it exists already)
Comment | File | Size | Author |
---|---|---|---|
#1 | date-401326-support-multigroup.patch | 713 bytes | coltrane |
Comments
Comment #1
coltraneReally small patch makes me suspect this doesn't cover it, but with patch applied Date doesn't remove fields when they're empty, instead placing NULL into the DB and leaving deltas intact.
Comment #2
edemus CreditAttribution: edemus commentedDo you have any idea how to apply this one to 6.x-3.x-dev ? I used it and unfortunately does not work. Date input no matter where i put it, always landing on last delta.
Comment #3
coltrane@edemus You mean CCK 3.x? This patch doesn't apply against CCK, it applies against Date. I haven't tried it in awhile though so I'm not sure it applies anymore or works.
Comment #4
edemus CreditAttribution: edemus commentedsorry, i meant Date 6.x-2.3. Anyway thanks for reply
Comment #5
markus_petrux CreditAttribution: markus_petrux commentedFixed in content multigroup: #522558: Date field jumps delta when date field is emptied or fieldset is deleted.
Well, that's not already committed, but it will. Still, it would be nice if more people can provide feedback in that issue. TIA :)