How to replicate:
Create a form in which a date_combo element is nested within other form elements with #tree set to true.
What will happen:
The date value will fail to be stored. The field will be empty after saving.
The problem seems to be that date_combo_validate assumes that the field name and delta will be found in #parents[0] and #parents[1], respectively. This assumption won't be valid if the field is within a tree structure.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | date-5.x-2.x-dev-336779-001.patch | 646 bytes | noah@groups.drupal.org |
| #1 | date-5.x-2.3-336779-001.patch | 646 bytes | noah@groups.drupal.org |
Comments
Comment #1
noah@groups.drupal.org commentedHere's a patch rolled against 5.x-2.x-dev (http://drupal.org/node/215468), and another one rolled against 5.x-2.3.
Comment #2
arlinsandbulte commentedI'm just going to close this issue out for now.
5.x is quickly becoming obsolete and there has been no additional replies or support for this issue.
Comment #3
noah@groups.drupal.org commentedI'm sure there are plenty of people still running 5.x sites out there - how about that patch that I created?
Thanks.
Comment #4
noah@groups.drupal.org commentedI'm sure there are plenty of people still running 5.x sites out there - how about that patch that I created?
Thanks.