Skip to content

[6.x] Multisite - Fix unsynced fields after switching sites - #15267

Merged
jasonvarga merged 3 commits into
6.xfrom
fix-site-switch-field-sync
Aug 27, 2026
Merged

[6.x] Multisite - Fix unsynced fields after switching sites#15267
jasonvarga merged 3 commits into
6.xfrom
fix-site-switch-field-sync

Conversation

@jaygeorge

Copy link
Copy Markdown
Contributor

Description of the Problem

While editing localized globals, ff you switch from a dirty state to a different site, the field sync status doesn't update.

Here's a video (with audio) showing that:

Fix.unsynced.fields.after.switching.sites.mp4

What this PR Does

Prevent false unsynced fields after site switch

Fieldtypes can emit delayed updates when switching localizations. Pause dirty tracking briefly and ignore desyncs during that window, matching entries, and apply originMeta on globals switches.

How to Reproduce

  1. Add some localizable globals, and follow the video attached

jaygeorge and others added 3 commits August 25, 2026 11:35
Fieldtypes can emit delayed updates when switching localizations. Pause
dirty tracking briefly and ignore desyncs during that window, matching
entries, and apply originMeta on globals switches.
…sync

# Conflicts:
#	resources/js/components/globals/PublishForm.vue
@jasonvarga
jasonvarga merged commit fd1e874 into 6.x Aug 27, 2026
64 checks passed
@jasonvarga
jasonvarga deleted the fix-site-switch-field-sync branch August 27, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants