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 module has defined a config setting called tabs: true. However, there is no associated schema present for the same.
Due to the above reason, any PHPUnit test that is trying to enable the module is failing with the error Drupal\Core\Config\Schema\SchemaIncompleteException: No schema for module_filter.settings
The above error is coming because of https://www.drupal.org/node/2391795
As a workaround, I had to add this property in my test class but it's not the recommended way.
protected $strictConfigSchema = FALSE;
Hence it's best that we fix the problem at the core.
Comment | File | Size | Author |
---|---|---|---|
#2 | Missing-Schema-3081959-2.patch | 427 bytes | kunalkursija |
Comments
Comment #2
kunalkursija CreditAttribution: kunalkursija at Axelerant commentedThis patch should fix the issue.
Comment #3
Dinesh18 CreditAttribution: Dinesh18 as a volunteer commentedPatch #2 looks good to me. +1 to RTBC.
Let's wait for some more drupalers to review
Comment #4
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedComment #5
AardWolf CreditAttribution: AardWolf at ADCI Solutions commentedI've checked patch.
It works.
Comment #7
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedComment #8
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commented