Cloning field entries causes duplicate ckeditor fields
Open
Nobody has claimed this yet.
bug
- Dominant language
- PHP
- Stars
- 47
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
Description
When cloning existing fields in craft using ckeditor creates duplicate ckeditor field entries
Steps to reproduce
- clone existing block in field using ckeditor
- see duplicate ckeditor fields render
- saving entry removes duplicates
Additional info
- Craft version: 5.9.22
- PHP version: 8.2.17
- Database driver & version: MySQL 27.1
- Plugins & versions: 5.5.0
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
Reproduce the issue in Craft 5.9.22 with PHP 8.2.17, MySQL 27.1, and CKEditor plugin 5.5.0 by cloning an existing block that uses CKEditor. Confirm that duplicate CKEditor fields render before saving and disappear after saving; trace the cloning path to identify where the duplicate entries are created, then add coverage for the reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100