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

Nested entries lost when running resave entries command #211

Closed
d-karstens opened this issue Apr 22, 2024 · 1 comment
Closed

Nested entries lost when running resave entries command #211

d-karstens opened this issue Apr 22, 2024 · 1 comment
Labels

Comments

@d-karstens
Copy link

Description

Hi,

We've encountered an issue where nested entries are removed when using the craft resave/entries command.
We initially encountered it with a nested entry containing only a Hyper field, where when we run the resave entry command it seems to keep the link, but is no longer registered as a nested entry and some xml data is added

Before running the command:
Screenshot 2024-04-22 at 5 01 04 PM

Screenshot 2024-04-22 at 5 00 55 PM

After running the command:
Screenshot 2024-04-22 at 5 01 49 PM

To check if this was an issue with the Hyper plugin or CKEditor, I made a nested entry containing only an image field and after running the resave command the nested entry is removed entirely - so it seems to be a CKEditor issue

Before running the command:
Screenshot 2024-04-22 at 5 09 23 PM

After running the command:
Screenshot 2024-04-22 at 5 11 12 PM

Steps to reproduce

  1. Create a CKEditor field with a nested entry containing an image field
  2. Run craft resave/entries and nested entry is lost

Additional info

Our nested entries have associated partial templates, but without those the nested entries are still deleted

  • Craft version: 5.0.4
  • PHP version: 8.2.18
  • Database driver & version: MySQL 8.0.33
  • Plugins & versions: CKEditor: 4.0.3, Hyper: 2.0.0-beta.8
@brandonkelly
Copy link
Member

Thanks for reporting that! CKEditor 4.0.4 is out with a fix.

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

No branches or pull requests

2 participants