craftcms / craftcms/ckeditor

ckeditor/convert redactor, redactor anchor, redactor custom styles to ckeditor issue with lost content in matrix fields

Open
#301 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
47
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Description

I have a craft installation, where we wanted to update to the newest version. Within this update, we already tried to get rid of the deprecated redactor plugin, in favor of the ckeditor. On ckeditor/convert the migration of all fields and content takes place succesfully.
However, inside some of our fields, no content is migrated: The content seems to be lost.
This is strange, as this occurs inconsistent and without an error. Inside of some matrix fields, some content is lost, but other isn't. Moreover, the error only occurs in matrix fields or supertables.

Steps to reproduce
  1. Have a Craft V4.5.6.1 installation with the plugins Redactor, Redactor Anchor and Redactor Custom Styles
  2. Install CKeditor
  3. migrate with ckeditor/convert
  4. Test all entries, if the migration was successful and if content has been lost
Additional info
  • Craft version: V4.5.6.1 -> V4.12.5
  • PHP version: 8.3.12
  • Database driver & version: MariaDB 10+
  • Plugins & versions: Redactor 3.1.0, Redactor Anchor 1.5.0, Redactor Custom Styles 4.0.3, Supertable 3.0.15

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing ckeditor/convert on Craft 4.5.6.1 with Redactor, Redactor Anchor, Redactor Custom Styles, and Supertable, then compare migrated content in matrix and Supertable fields. Done means all content is preserved consistently and the migration no longer silently loses content.

Written by the indexing model from the issue text.

Assessment

Tech stack
mariadb, php
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.