-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
Description
Description
While converting some matrix fields to CKEditor, I noticed some nested entries being duplicated. On investigating further, it looked like certain trashed entries were being re-added to the content. Poked around the migration code and this criteria in the nested entries query seems to be the culprit.
| ->trashed(null) |
Steps to reproduce
- Create a matrix field with at least one entry type (A) with a CKEditor field, and one or more additional entry types
- Add some blocks/entries
- Delete a few blocks
- Convert this matrix field to a CKEditor field and use the (A) entry type for the base HTML content
- The deleted blocks should re-appear in the content
Additional info
- Craft version: 5.8.6
- PHP version: 8.2
- Database driver & version: MariaDB
- Plugins & versions: 4.10.1