Problem/Motivation

Fix test failure:

Drupal\Tests\ckeditor_codemirror\Functional\CkeditorCodeMirrorBasicTest::testEnableCkeditorCodeMirrorPlugin
Exception: Warning: Undefined array key "status"
editor_form_filter_admin_format_submit()()

Proposed resolution

Remaining tasks

Figure out what is wrong. Fix.

User interface changes

None.

API changes

None.

Data model changes

None.

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

liam morland created an issue. See original summary.

joseph.olstad’s picture

seeing this also in the MR for #3531472: Drupal 10.5 / 11.2 incompatibility

joseph.olstad’s picture

In CkeditorCodeMirrorBasicTest::testEnableCkeditorCodeMirrorPlugin() just before the submit that hits the text format save

// Work around Drupal core warning: Undefined array key "status" in
// editor_form_filter_admin_format_submit() when saving formats with CKEditor 5.
$this->expectWarning();
$this->expectWarningMessage('Undefined array key "status"');
joseph.olstad’s picture

Fix is in MR 9

Also created MR10 but it's not needed if MR 9 is merged which I highly recommend merging MR9 instead.

joseph.olstad’s picture

Status: Active » Needs review
wells’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

liam morland’s picture

Fixed in commit 91a6393e for #3531472: Drupal 10.5 / 11.2 incompatibility.

joseph.olstad’s picture

@wells, please add contribution to us in the contribution record.

Many thanks!

Status: Fixed » Closed (fixed)

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