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.
The schema yml file is missing. This causes errors by the configuration inspector: "The site's configuration does not match the associated schema."
Comment | File | Size | Author |
---|---|---|---|
#3 | time_field_add_config_schema_yml-3137773-3.patch | 1.56 KB | marco-s |
#2 | time_field_add_config_schema_yml-3137773-2.patch | 1.21 KB | marco-s |
Comments
Comment #2
marco-sAdding patch.
Comment #3
marco-sI also had the missing schema error for "default_value.0.value". Solved that by adding field.value.time and field.value.time_range. Is that correct?
Updated the patch accordingly.
Comment #4
Ruuds CreditAttribution: Ruuds at Groowup Digital Agency commentedI also encountered the schema missing error when integrating time_field into one of my functional tests:
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for core.entity_form_display.contact_message.test_contact_form.default with the following errors: core.entity_form_display.contact_message.test_contact_form.default:content.field_time.settings.enabled missing schema, core.entity_form_display.contact_message.test_contact_form.default:content.field_time.settings.step missing schema
The patch from #3 solved the problem. Thank you @marco-s.
Comment #5
Kris77 CreditAttribution: Kris77 commentedPatch in #3 works for me too.
Thanks @Marco-s
Comment #6
BramDriesenComment #8
BramDriesenThanks all.
Comment #9
BramDriesenAdded credits for reviewers.
Comment #10
BramDriesen