Bug #102245
closedEpic #99669: CKEditor5 Collection
CKEditor5 removePlugins configuration is not properly serialized as JSON array when some array items are migrated
100%
Description
Reported by Johannes Schlier:
Example configuration:
editor:
config:
removePlugins:
- image
- specialchar
"image"
is migrated which leaves "specialchar"
, but the array is encoded to JSON as
{"1":"specialchar"}
Instead of
["specialchar"]
Resulting in a CKEditor5 runtime error because the array method some()
is tried to be executed on an object:
VM2902 ckeditor5-core.js:17 Uncaught (in promise) TypeError: e.some is not a function at v (VM2902 ckeditor5-core.js:17:2271) at VM2902 ckeditor5-core.js:17:1146 at Array.filter (<anonymous>) at x.init (VM2902 ckeditor5-core.js:17:1134) at w.initPlugins (VM2902 ckeditor5-core.js:37:2082) at VM2846 ckeditor5-editor-classic.js:14:636 at new Promise (<anonymous>) at w.create (VM2846 ckeditor5-editor-classic.js:14:593) at CKEditor5Element.firstUpdated (VM2808 ckeditor5.js:13:3194)
Updated by Benjamin Franzke about 1 year ago
- Related to Task #102099: Unbundle CKEditor5 added
Updated by Gerrit Code Review about 1 year ago
- Status changed from New to Under Review
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/+/81538
Updated by Gerrit Code Review about 1 year ago
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/+/81552
Updated by Jasmina Ließmann about 1 year ago
- Related to Bug #102230: Former CKEditor definitions no longer work after updating to TYPO3 v12.4.7 added
Updated by Gerrit Code Review about 1 year ago
Patch set 2 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/+/81538
Updated by Gerrit Code Review about 1 year 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/+/81552
Updated by Gerrit Code Review about 1 year ago
Patch set 3 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/+/81538
Updated by Anonymous about 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7391aa7bf0a7b88e6a3c7450020712b4d986aa47.