`label` key contains a string. It must be an array

Created on 22 June 2024, 10 months ago
Updated 8 August 2024, 8 months ago

Problem/Motivation

This module breaks Drupal 10.3.

Steps to reproduce

composer update from 10.2.3 to 10.3
drush updb

Show the error:

> [notice] Update started: editor_post_update_sanitize_image_upload_settings
> [error] The mapping definition at `editor.editor.full_html.settings.plugins.ckeditor5_list:properties` is invalid: its `label` key contains a string. It must be an array.
> [error] Update failed: editor_post_update_sanitize_image_upload_settings
[error] Update aborted by: editor_post_update_sanitize_image_upload_settings
[error] Finished performing updates.

I also have the Schema patch for this module.

Only when unnistall this module, I was able to run drush updb.

If try to install the module again I get:

> In Mapping.php line 38:
>
> The mapping definition at `editor.editor.basic_html.settings.plugins.ckedit
> or5_list:properties` is invalid: its `label` key contains a string. It must
> be an array.
>
>

In ProcessBase.php line 155:

Output is empty.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: duplicate

Version

1.1

Component

Code

Created by

🇵🇹Portugal adaragao

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