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.
When default value is set to None
Comment | File | Size | Author |
---|---|---|---|
#7 | date-2990189-7-set-default-value.patch | 1.01 KB | jacob.embree |
|
Comments
Comment #2
theaxe CreditAttribution: theaxe commentedComment #3
solotandem CreditAttribution: solotandem commentedAn empty date field on an existing entity results in multiple PHP warnings in the form processing code. The attached patch creates an array structure and sets default values for the date value keys. It does not augment the tests (for which this is an obvious use case).
Comment #4
theaxe CreditAttribution: theaxe commentedThis fixes it, thank you.
Comment #5
DamienMcKennaComment #6
sonnyktIt works with 7.x-2.10.
Comment #7
jacob.embree CreditAttribution: jacob.embree at St. Louis Integration commentedReroll for 7.x-2.x.
Comment #9
DamienMcKennaCommitted. Thanks.