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!

Issue fork mask-3422608

Command icon 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

littlepixiez created an issue. See original summary.

littlepixiez’s picture

littlepixiez’s picture

Status: Active » Needs review
littlepixiez’s picture

StatusFileSize
new26.36 KB

Adding a screenshot of the config in question that the schema error is complaining at.

littlepixiez’s picture

Assigned: littlepixiez » Unassigned
tim-diels’s picture

Version: 2.0.x-dev » 2.1.x-dev
Assigned: Unassigned » tim-diels
tim-diels’s picture

Assigned: tim-diels » Unassigned
Status: Needs review » Reviewed & tested by the community

Thank 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.

tim-diels’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.