Project

General

Profile

Actions

Bug #100826

closed

PHP Warning in CKEditor5Migrator.php

Added by Stefan Froemken 12 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Start date:
2023-05-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello,

after upgrading to TYPO3 12.0 I get following PHP Warning:

Core: Error handler (BE): PHP Warning: foreach() argument must be of type array|object, string given in /var/www/html/vendor/typo3/cms-core/Classes/Configuration/CKEditor5Migrator.php line 453

Seems that an is_array or a GeneralUtility::trimExplode() is missing for: $this->configuration['editor']['config']['removeButtons']

Stefan

Actions #1

Updated by Stefan Froemken 12 months ago

Comma separated list of strings was allowed in CkEditor 4: https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-removeButtons

Actions #2

Updated by Gerrit Code Review 12 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78960

Actions #3

Updated by Gerrit Code Review 12 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78960

Actions #4

Updated by Gerrit Code Review 11 months ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78960

Actions #5

Updated by Benni Mack 11 months ago

  • Target version changed from 12 LTS to Candidate for patchlevel
Actions #6

Updated by Gerrit Code Review 11 months ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79242

Actions #7

Updated by Stefan Froemken 11 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF