Problem/Motivation
When running functional tests and using config that uses "mask" third party settings, I get the following error:
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for core.entity_form_display.user.user.register with the following errors: core.entity_form_display.user.user.register:content.field_xxx.third_party_settings.mask missing schema
Steps to reproduce
1. Create a module that installs config that has mask third party settings on a field in the form display
2. Add a functional test that installs this module
3. Run the functional test
Proposed resolution
Add the missing widget settings in the schema.
Have a solution for this and will follow it with the code change shortly. Thanks for the great module!
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Screenshot 2024-02-20 at 11.35.01.png | 26.36 KB | littlepixiez |
Issue fork mask-3422608
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 #3
littlepixiez commentedComment #4
littlepixiez commentedComment #5
littlepixiez commentedAdding a screenshot of the config in question that the schema error is complaining at.
Comment #6
littlepixiez commentedComment #7
tim-dielsComment #8
tim-dielsThank you so much for pointing this out! I tested this and found that it is better to have the checkboxes as a boolean. So changed the datatype for them to boolean.
Comment #10
tim-diels