Schema errors for bootstrap.settings when using the theme in the Drupal functional tests

Created on 7 March 2025, about 1 month ago

Problem/Motivation

When I'm trying to save the Bootstrap theme settings in any Drupal functional test, I receive an error:
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for bootstrap.settings with the following errors: bootstrap.settings:bootstrap_region_width_top_header missing schema, bootstrap.settings:bootstrap_region_width_top_header_form missing schema, bootstrap.settings:bootstrap_region_width_header missing schema, bootstrap.settings:bootstrap_region_width_header_form missing schema, bootstrap.settings:bootstrap_region_width_primary_menu missing schema, bootstrap.settings:bootstrap_region_width_secondary_menu missing schema, bootstrap.settings:bootstrap_region_width_page_top missing schema, bootstrap.settings:bootstrap_region_width_page_bottom missing schema, bootstrap.settings:bootstrap_region_width_highlighted missing schema, bootstrap.settings:bootstrap_region_width_featured_top missing schema, bootstrap.settings:bootstrap_region_width_breadcrumb missing schema, bootstrap.settings:bootstrap_region_width_content missing schema, bootstrap.settings:bootstrap_region_width_sidebar_first missing schema, bootstrap.settings:bootstrap_region_width_sidebar_second missing schema, bootstrap.settings:bootstrap_region_width_featured_bottom_first missing schema, bootstrap.settings:bootstrap_region_width_featured_bottom_second missing schema, bootstrap.settings:bootstrap_region_width_featured_bottom_third missing schema, bootstrap.settings:bootstrap_region_width_footer_first missing schema, bootstrap.settings:bootstrap_region_width_footer_second missing schema, bootstrap.settings:bootstrap_region_width_footer_third missing schema, bootstrap.settings:bootstrap_region_width_footer_fourth missing schema, bootstrap.settings:bootstrap_region_width_footer_fifth missing schema, bootstrap.settings:bootstrap_region_clean_none missing schema, bootstrap.settings:bootstrap_region_width_none missing schema, bootstrap.settings:bootstrap_region_class_none missing schema in Drupal\Core\Config\Development\ConfigSchemaChecker->onConfigSave() (line 98 of core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php).

This is because the bootstrap.settings schema file misses some settings. This is reproducible only in the test environment because the ConfigSchemaChecker service is included for now only there: https://www.drupal.org/node/3362879

Steps to reproduce

Proposed resolution

Fix the issue by adding missing declarations to the bootstrap.settings schema file.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

5.0

Component

Theme Settings

Created by

🇦🇲Armenia murz Yerevan, Armenia

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024