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.
Hello everybody,
I set up a dependence where a check box (dependee) shows several fields, among which a date field. There is no problem with the other textfield, but the dependent date field does not save the inserted value. This means that there is no way to save successfully a new value to a dependent date field.
If I remove the dependence, the date field works normally
Comments
Comment #1
kevinsbath CreditAttribution: kevinsbath commentedSame issue observed and repeated with text fields and file fields. In the file field case, the record is created but not linked to the node.
Comment #2
mizage@gmail.com CreditAttribution: mizage@gmail.com commentedJust noticed this as well with a date field.
Comment #3
Kodiak CreditAttribution: Kodiak commentedSame issue with a date field which is meant to be "required" upon certain values of a dropdown.
The new value exists in node_validate but is reset in node_presave.
When I delete the dependency, changing the value becomes possible again.
Comment #4
ZoeN CreditAttribution: ZoeN commentedbump
Comment #5
Acertijo CreditAttribution: Acertijo commentedSame issue here
Comment #6
mducharme CreditAttribution: mducharme commentedNo matter what I change within the "edit" portion, the "view" section seems to override the display of date field values.
Over 2 years without even being addressed by maintainers? ouch.
Comment #7
tzt20 CreditAttribution: tzt20 commentedThis issue seems to also be a duplicate of this: https://drupal.org/node/1542706
Unfortunately, conditional_fields 7.x-3.x-dev still warns not to use on production sites --https://www.drupal.org/node/1137614
I chose to go with #32 from here: https://drupal.org/node/1542706#comment-6773474
Update: #32 seemed to only work temporarily actually. I applied the patch from #110.
Comment #8
wranvaud CreditAttribution: wranvaud commentedUpdating to the latest release solved the issue for me
Comment #9
phayes CreditAttribution: phayes commentedConfirmed that updating to latest release fixes the bug.
I've marked this bug as fixed.
Comment #11
Wilson_of_Prussia CreditAttribution: Wilson_of_Prussia commentedI started typing a question here but just created a new issue. Ignore this post.