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.
In schema.yml devel.settings.error_handlers is a mapping with two child elements: "error_handler_type" and "error_handler_value"; in config.devel.yml those elements have some default values (0 and 1).
But nowhere in code those elements are used and if we save the devel config form and then we look at generated configuration those element aren't present.
When we try to submit the config form in a test (where the schema validity is checked for consistency) the test fails.
I'm missing something or this is a bug?
Comment | File | Size | Author |
---|---|---|---|
#2 | unused_element_in-2657032-2.patch | 1.12 KB | lussoluca |
|
Comments
Comment #2
lussolucaWith this patch my tests on configuration form are green
Comment #3
itarato CreditAttribution: itarato commentedI'd say the schema definition is fine, as it's really a map (at least the way Drupal Form API is handling it, and also by definition sequence is for lists where the key is unknown, however here the key is important). However the change of the setting seems sensible.
Comment #4
lussolucaYes, schema is correct but it doesn't match with the settings form
Comment #5
moshe weitzman CreditAttribution: moshe weitzman at Acquia commented+ 1: 1
looks really odd. But if thats right, go ahead and commit.Comment #7
lussolucaCommitted to 8.x-1.x
Thanks!