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.
Problem/Motivation
In the latest release a schema issue was introduced.
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for
simple_sitemap.custom with the following errors: simple_sitemap.custom:0
missing schema
I guess its not possible to use config_object and sequence on the same level.
Proposed resolution
We should save the custom config in a sequence key "links"
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | schema_issues_introduced-2826556-2.patch | 2.42 KB | chr.fritsch |
|
Comments
Comment #2
chr.fritschHere is a patch.
Maybe we should add an update hook
Comment #3
chr.fritschComment #5
gbyte CreditAttribution: gbyte as a volunteer and commentedI've modified your code by changing the config calls from setData() to set(), as we can now target the 'links' key and don't need to unset the _core variable, added the update hook and enabled strict config checking in tests. Thanks and say hello to the Thunder team from me!