Problem/Motivation
Config inspector returns an error about missing config schema.
Steps to reproduce
Review and validity configurations with drush:
$ drush config:inspect --detail --only-error
This message appears:
prlp.settings:password_required
variable type is boolean but applied schema class is Drupal\Core\TypedData\Plugin\DataType\IntegerData
| Comment | File | Size | Author |
|---|
Issue fork prlp-3268419
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
v.dovhaliuk commentedProvided patch.
Comment #3
fromme commentedReviewed patch #2. Patch applied and error is resolved.
Comment #7
bharath-kondeti commentedRaised an MR with updated changes. Please review
Comment #8
fromme commentedReviewed MR "Issue#3268419: Resolve test cases that failed and move the code to MR".
The error is resolved.
Comment #13
elc commentedThis patch has not been merged into 2.0.x.
Comment #14
klemendev commentedDoes lack of this patch in 2.0.x make this module not usable in this release branch, or it still works and is this just a warning?
Comment #15
elc commentedThe module will still continue to function, however it will continue to swap between an integer value interpreted as a boolean value, and a true boolean value for this config item.
It's a boolean in the form, should be a boolean because it's a checkbox and true/false, and currently preventing the full validation of the module configuration against the schema.
The point of having the config and schema matched up is to eventually turn on config schema enforcement and validation so that config (simple and entity) and entities can be validated at the entity level instead of a form, allowing for API updates to entities without bypassing all of the validation.
Comment #16
elc commentedMR22 is pending review to be ported.
Comment #17
elc commentedMarking as RTBC as this is the same change as 8.x-1.x just ported over.
Comment #18
anybodyConfirming RTBC for the fix in MR!22
Comment #19
ccrawford91 commented