There is an issue with syncing multisite entires with the origin site when the origin entry contain empty Bard fields in Statamic v5 (v4 is not affected).
The sync button will temporarily sync and then unsync again immediately with the button changing states for a second before flicking back to the unsynced state - have confirmed in the content folder that the entries are not synced after saving.
How to reproduce
Install Statamic from CLI
Upgrade to Statamic v5 (composer.json version change and composer update)
Create a multisite (php please multisite)
Disable automatic propagation under the Pages collection configuration
Create a Blueprint with a Bard field that is localisable
Create a page in the origin site with the new Blueprint
Leave the Bard field blank and save the entry
Click on the non-origin site to duplicate the entry to that site
The entry will unsync automatically, clicking the sync button for the Bard field will not work
Saving the entry will save it as unsynced from origin
Logs
No response
Environment
Environment
Application Name: Statamic
Laravel Version: 10.48.10
PHP Version: 8.1.20
Composer Version: 2.3.7
Environment: local
Debug Mode: ENABLED
URL: localhost
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: 0
Sites: 2 (Statamic, au)
Stache Watcher: Enabled
Static Caching: Disabled
Version: 5.2.0 PRO
Installation
Fresh statamic/statamic site via CLI
Additional details
Found this with a v5 Statamic site which is more complex but confirmed with a fresh install as well.
Bug description
There is an issue with syncing multisite entires with the origin site when the origin entry contain empty Bard fields in Statamic v5 (v4 is not affected).
The sync button will temporarily sync and then unsync again immediately with the button changing states for a second before flicking back to the unsynced state - have confirmed in the content folder that the entries are not synced after saving.
How to reproduce
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
Found this with a v5 Statamic site which is more complex but confirmed with a fresh install as well.