Multisite: switching site in the collection listing opens a different entry, not the localization
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 55/100
Rechercherichtung
Trace how the collection listing switches sites and resolves localized entries, then compare that path with the working site switcher inside the entry editor. Reproduce with an English origin entry and its Arabic localization, and compare the entry IDs opened by each path. Done means the listing opens the origin entry’s localization and edits made there appear on the frontend.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Bug description
On a multisite setup (origin site + localized site), switching the site from the collection listing opens a different entry (different ID) instead of the localization of the origin entry.
Edits made there (e.g. changing a Link field) never reflect on the frontend — the localized page keeps showing the old value.
Switching via the site switcher inside the entry editor works correctly: it opens the real localization and changes show on the frontend.
Expected: the listing should show/open the localizations of the origin entries, not separate entries.
Actual: the listing opens a separate entry that isn't the one being rendered, so changes look saved in the CP but never appear on the frontend.
How to reproduce
- Set up multisite with
en(origin) andar. - Create an entry in
enwith a Link field, then localize it toar. - Works: Open the
enentry → switch toarvia the editor's site switcher → change the link → frontend updates ✅ - Broken: Go to the collection listing → switch site to
ar→ open the same entry → change the link → frontend does not change ❌ - Compare entry IDs from steps 3 and 4 — they're different.
Logs
Environment
Environment
Laravel Version: 13.38.0
PHP Version: 8.4.27
Composer Version: 2.8.8
Environment: production
Debug Mode: OFF
Maintenance Mode: OFF
Timezone: UTC
Locale: en
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: null
Cache: file
Database: mysql
Logs: stack / single
Mail: microsoft
Queue: sync
Session: file
Storage
public/storage: NOT LINKED
Statamic
Addons: 4
License Key: Set
Sites: 2 (English, Arabic)
Stache Watcher: Enabled
Static Caching: Disabled
Version: 6.36.0 PRO
Statamic Addons
emran-alhaddad/statamic-graphql-protect: 1.1.0
emran-alhaddad/statamic-logbook: 2.2.0
isaadsalman/headless-refresh: 1.0.5
statamic/eloquent-driver: 5.12.4
Statamic Eloquent Driver
Addon Settings: eloquent
Asset Containers: eloquent
Assets: eloquent
Blueprints: eloquent
Collection Trees: eloquent
Collections: eloquent
Entries: eloquent
Fieldsets: eloquent
Form Submissions: eloquent
Forms: eloquent
Global Sets: eloquent
Global Variables: eloquent
Navigation Trees: eloquent
Navigations: eloquent
Revisions: file
Sites: eloquent
Taxonomies: eloquent
Terms: eloquent
Tokens: eloquent
Installation
Fresh statamic/statamic site via CLI
Additional details
Happens for every localized entry we tested, not just one.
- Vorherrschende Sprache
- PHP
- Sterne
- 4.9k
- Forks
- 647
- Ø Merge
- 23 Std. 42 Min.
- Gemergte PRs (30 T.)
- 148
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus statamic/cms
-
tags
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
accessibility
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 1 Tag
-
antlers
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 1 Tag
-
antlers modifiers
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 57/100
statamic/cms#15832 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Select field preview disappears after reordering Replicator setsEvtl. vergeben @lazerg hat das vor 4 Tagen übernommen. Offenfieldtypes
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
nikic/PHP-Parser#1187 ·
-
15.0
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Icinga/icinga-notifications-web#645 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
OpenMage/magento-lts#5865 ·
Maintainer antworten meist innerhalb von 3 Tagen