BooleanItem has invalid config schema for its default values

Created on 8 July 2025, 7 days ago

Problem/Motivation

Similar to how 🐛 LanguageItem lacks a schema for its default values Active was lacking config schema for default values altogether, BooleanItem's does exist, but is incorrect:

field.value.boolean:
  type: mapping
  mapping:
    value:
      type: integer
      label: 'Value'

It was last touched 11 years ago in #2325999: Move config schema for Core field types out of field.module .

Steps to reproduce

Proposed resolution

diff --git a/core/config/schema/core.data_types.schema.yml b/core/config/schema/core.data_types.schema.yml
index 8bbffd2acb2..99d783572b4 100644
--- a/core/config/schema/core.data_types.schema.yml
+++ b/core/config/schema/core.data_types.schema.yml
@@ -802,7 +802,7 @@ field.value.boolean:
   type: mapping
   mapping:
     value:
-      type: integer
+      type: boolean
       label: 'Value'
 
 # Schema for the configuration of the Email field type.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.2 🔥

Component

entity system

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

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