cms
cms copied to clipboard
Duplicate in multisite adds drafts even when the page hasn't been added to the other sites.
Bug description
When duplicating an entry which is only enabled on certain sites drafts are created for every site, this makes the entry show when you change to the other sites in the collection when it shouldn't.
How to reproduce
On a multisite install:
- Create an entry and leave it as not enabled on some sites
- Duplicate the Entry
- The entry will have drafts created for all of the sites (even the ones which aren't enabled)
Logs
No response
Environment
Environment
Application Name: Example
Laravel Version: 10.32.1
PHP Version: 8.2.11
Composer Version: 2.5.5
Environment: local
Debug Mode: ENABLED
URL: example.test/
Maintenance Mode: OFF
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: file
Statamic
Addons: 4
Antlers: runtime
Stache Watcher: Enabled
Static Caching: Disabled
Version: 4.34.0 PRO
Statamic Addons
doefom/currency-fieldtype: 1.2.2
jacksleight/statamic-bard-texstyle: 3.1.3
ndx/statamic-bard-color-picker: 1.2.0
withcandour/aardvark-seo: 3.0.0
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response