Problem/Motivation
The schema is at schema/rare.schema.yml:1, but Drupal discovers module config schema from config/schema/*.schema.yml. Because this module has no config/schema/rare.schema.yml, rare.settings likely has no discovered schema.
Steps to reproduce
- Install RARE in Drupal 11.x.
- Run:
drush config:inspect --detail --only-error
--------------- ----------- ------------- ------
Key Status Validatable Data
--------------- ----------- ------------- ------
rare.settings No schema
--------------- ----------- ------------- ------
Expected
Expected: rare.settings uses the schema from rare.schema.yml.
Actual
schema is not discovered because the file is under schema/, not config/schema/.
Proposed resolution
Move the schema file from:
schema/rare.schema.yml
to:
config/schema/rare.schema.yml
Comments
Comment #2
nakaza sora commentedComment #4
nakaza sora commentedCreated an MR that moves the schema file to config/schema/ so the rare.settings schema is discovered. Ready for review — thanks!
Comment #5
nakaza sora commentedComment #6
dkmishra commentedI tested commit `2efce592` from the MR by running `drush config:inspect --detail --only-error`, and I can confirm that it no longer reports any missing schema issues.
Tested and RTBC +1.
Comment #7
boroughbee commented@nakaza sora and @dkmishra much appreciated for pointing this out, will update module with your contribution, once tested as soon as possible.
Comment #9
boroughbee commentedThanks to sora nakaza and dkmishra. Merged. v1.0.1
Comment #10
dkmishra commentedThanks for merging this, @boroughbee! Just a couple of small follow-ups:
The issue status is still showing Needs review. Since the fix has now landed in 1.0.1 via commit `2efce592`, could you please update the issue status to Fixed?
Also, could you please add the appropriate contributor credit to the commit? I don’t see it reflected in the contribution record yet.
Thanks again for the quick turnaround and for getting this fix included in the release!
Comment #11
boroughbee commented