Schema errors for bootstrap_barrio.settings with the following errors: bootstrap_barrio.settings:bootstrap_barrio_enable_color variable type is integer but applied schema class is BooleanData

Created on 21 August 2023, 10 months ago
Updated 23 September 2023, 9 months ago

Problem/Motivation

I've a PHPUnit test for a theme that extends bootstrap_barrio and the following error is being thrown:

Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for bootstrap_barrio.settings with the following errors: bootstrap_barrio.settings:bootstrap_barrio_enable_color variable type is integer but applied schema class is Drupal\Core\TypedData\Plugin\DataType\BooleanData

According to the schema, bootstrap_barrio_enable_color is set as a boolean type; however, the settings file has it as 0.

Steps to reproduce

Proposed resolution

Changing the settings value from 0 to false fixes the throw exception.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

5.5

Component

Code

Created by

🇺🇸United States collinhaines

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024