Problem/Motivation

In testing, when installing the test module (ckeditor5_paste_filter_test) in Drupal 11, you may not be able to due to config schema validation:

In ConfigSchemaChecker.php line 98:
  Schema errors for editor.editor.test with the following errors: 0 [image_upload] 'status' is a required key.

Steps to reproduce

  1. In a settings.php file or include, add: $settings["extension_discovery_scan_tests"] = TRUE;
  2. Install the ckeditor5_paste_filter_test module
  3. Navigate to /admin/config/content/formats/manage/test
  4. Save the config form

Expected behaviour: Saves without error

Actual behaviour:

Warning: Undefined array key "status" in editor_form_filter_admin_format_submit() (line 109 of core/modules/editor/editor.module).

Proposed resolution

Amend the config file to align with the Drupal 11 schema.

Remaining tasks

  • Make the necessary changes
  • Test locally
  • Create a merge request
  • Review the changes
  • Merge!

User interface changes

n/a

API changes

n/a

Data model changes

n/a

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

star-szr created an issue. See original summary.

star-szr’s picture

Issue summary: View changes

  • star-szr committed 55b577cd on 1.1.x
    [#3543636] test: update test editor config to match Drupal 11 config...
star-szr’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.