Get settings of menu_bootstrap_icon_plugins.cdn_bootstrap failed

Created on 28 August 2023, about 1 year ago

Problem/Motivation

AssertionError: Schema errors: Array ( [editor.editor.id_does_not_matter:settings.plugins.menu_bootstrap_icon_plugins.cdn_bootstrap] => variable type is integer but applied schema class is Drupal\Core\TypedData\Plugin\DataType\BooleanData ) in assert() (line 729 of /app/web/core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php)

Steps to reproduce

1. Composer require dev version
2. enable module
3. Go to Text formats and editors settings, then enable plugin widget.
4. Save => The error show up.

Proposed resolution

line 51: web/modules/contrib/menu_bootstrap_icon/src/Plugin/CKEditor5Plugin/BootstrapIcons.php
(boolean) $form_state->getValue('cdn_bootstrap');

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇻🇳Vietnam mrddthi

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

Comments & Activities

Production build 0.71.5 2024