Bug description
When a Bard field contains another Bard field inside multiple sets, reordering the sets mixes up the content of the sets and causes data loss.
This is a follow up to #14759. It seems like the merged fix doesn't cause the re-renders anymore, but causes this new problem.
How to reproduce
- Clone repository: https://github.com/helloiamlukas/nested-bard-bug
- Open /cp/collections/articles/entries/7ac0bdda-1b84-45f8-ac52-2575dd7e8251 in browser
- Move Section 3 above Section 2. The content of the sets will be mixed up and the images will be deleted.
Logs
Environment
Laravel Version: 13.19.0
PHP Version: 8.3.22
Composer Version: 2.9.7
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: en
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file
Storage
public/storage: NOT LINKED
Statamic
Addons: 0
License Key: Not set
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.24.2 Solo
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
Bug description
When a Bard field contains another Bard field inside multiple sets, reordering the sets mixes up the content of the sets and causes data loss.
This is a follow up to #14759. It seems like the merged fix doesn't cause the re-renders anymore, but causes this new problem.
How to reproduce
Logs
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response