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

Comments

chr.fritsch created an issue. See original summary.

chr.fritsch’s picture

StatusFileSize
new2.42 KB

Here is a patch.

Maybe we should add an update hook

chr.fritsch’s picture

Status: Active » Needs review

  • gbyte.co committed f77dc99 on 8.x-2.x
    Issue #2826556 by chr.fritsch: Schema issues introduced
    
gbyte’s picture

Version: 8.x-2.7 » 8.x-2.x-dev
Status: Needs review » Fixed

I'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!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.