Skip to content

Commit

Permalink
[BUGFIX] Force type in ckeditor configuration migration
Browse files Browse the repository at this point in the history
To avoid exceptions during the ckeditor migration the type is forced
to be a string.

Resolves: #102521
Releases: main, 12.4
Change-Id: Icfdedb5b6ef74720e8f7da205a66115bc6d7a39a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81909
Tested-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Tested-by: core-ci <typo3@b13.com>
  • Loading branch information
georgringer authored and o-ba committed Nov 27, 2023
1 parent e3f666c commit 755b0da
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -763,6 +763,7 @@ protected function migrateAllowedContent(): void
foreach ($config4 as $name => $options) {
$config = [];
if ($name !== '*') {
$name = (string)$name;
$config['name'] = str_contains($name, '*') || str_contains($name, ' ') ?
[ 'pattern' => str_replace(['*', ' '], ['.+', '|'], $name) ] :
$name;
Expand Down

0 comments on commit 755b0da

Please sign in to comment.