[4.x]: Some missing / hidden drafts after updates
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
What happened?
Description
I recently updated from:
Craft CMS: 4.13.7 -> 4.13.9
Craft SEOmatic: 4.1.7 -> 4.1.8
Craft Freeform: 5.7.2 -> 5.8.5
Afterwords, I noticed that 2 draft entries I was working on had 2 CKEditor fields' data not displaying—one just showed an " " the other appeared empty.
I tried reverting the entry to the prior version and that made the fields' content reappear at first, but upon save it disappeared again. I tried doing the same thing, clicking into the fields, but not making additional changes, resaved and it kept the content shown that time.
I then exported the database and imported it into my local environment. Those 2 draft entries are not displayed in the CMS. I added:
'disabledPlugins' => '*',
…and both draft entries appear, but are missing again when the disabledPlugins config is removed.
Steps to reproduce
- Create a draft entry. Might need a CKEditor field with content.
- Update Craft CMS and Freeform—reference versions in description.
- See if the Draft CKEditor field content is still shown properly.
- Export database and import locally to see if the draft entry is visible.
Expected behavior
When updating Craft CMS and Freeform the CKEditor field content should remain and shown properly. Then exporting and importing the database with drafts should still be visible.
Actual behavior
When updating Craft CMS and Freeform the CKEditor field content was not shown properly. Then exporting and importing the database with drafts was not visible.
Craft CMS version
Pro 4.13.9
PHP version
8.2
Operating system and version
macOS 15.2
Database type and version
MySQL 8.3.9
Image driver and version
Imagick 3.7.0
Installed plugins and versions
- CKEditor 3.10.0
- Freeform 5.8.5
- SEOmatic 4.1.8
(*not all included)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are named. Reproduce the issue with Craft CMS 4.13.9, Freeform 5.8.5, CKEditor 3.10.0, and the listed PHP/MySQL versions, comparing normal and disabledPlugins configurations; it is done when draft entries and CKEditor content remain visible after updates and database export/import.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100