Problem/Motivation
The module installs did_this_help.settings with a question key, and both the settings form and block read/write question. However, the config schema defines message instead of question. This leaves the actual question configuration without matching schema.
--------------------------------- ---------------- ------------- ------
Key Status Validatable Data
--------------------------------- ---------------- ------------- ------
did_this_help.settings:question missing schema
--------------------------------- ---------------- ------------- ------
Steps to reproduce
1. Install Drupal 11.
2. Install and enable Did this help? 2.0.8.
3. Run: drush config:inspect --detail --only-error
Proposed resolution
Change the schema mapping from message to question:
did_this_help.settings:
type: config_object
label: 'Did this help? config'
mapping:
question:
type: string
label: 'Question'
no_answers:
type: string
label: '"No" answers'
Comments
Comment #3
dkmishra commentedComment #5
levmyshkinComment #7
levmyshkinComment #8
dkmishra commentedHi @levmyshkin, thanks for committing the fix.
I noticed I wasn't credited for this issue. Since I reported the issue and also created the merge request that was committed, would you mind adding issue credit for my contribution if you think it's appropriate?
Thank you!