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)

CommentFileSizeAuthor
#1 date-401326-support-multigroup.patch713 bytescoltrane
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

coltrane’s picture

Status: Active » Needs review
FileSize
713 bytes

Really 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.

edemus’s picture

Do 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.

coltrane’s picture

@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.

edemus’s picture

sorry, i meant Date 6.x-2.3. Anyway thanks for reply

markus_petrux’s picture

Status: Needs review » Fixed

Fixed 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 :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.