Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.x]: Some missing / hidden drafts after updates #16397

Open
vonscriptor opened this issue Jan 7, 2025 · 2 comments
Open

[4.x]: Some missing / hidden drafts after updates #16397

vonscriptor opened this issue Jan 7, 2025 · 2 comments

Comments

@vonscriptor
Copy link

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 "&nbsp" 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

  1. Create a draft entry. Might need a CKEditor field with content.
  2. Update Craft CMS and Freeform—reference versions in description.
  3. See if the Draft CKEditor field content is still shown properly.
  4. 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)

@vonscriptor
Copy link
Author

With 'disabledPlugins' => '*', I enabled the 2 drafts, then removed the config setting, and the entries are shown. I disabled them and they still appear. Not a true solve, but thought I'd mention it.

@i-just
Copy link
Contributor

i-just commented Jan 8, 2025

Hi, thanks for getting in touch! I’m not able to reproduce this. Any chance you can send your composer.json, composer.lock and database export from before the update? If so, please send to [email protected] and point out which drafts are missing and which elements you noticed have the CKEditor filed content not showing as expected after the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants