Multisite: switching site in the collection listing opens a different entry, not the localization
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- PHP
- Estrellas
- 4.9k
- Forks
- 647
- Merge medio
- 23 h 42 min
- PR fusionados (30 d)
- 148
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de statamic/cms
-
tags
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
accessibility
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
antlers
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
antlers modifiers
Dificultad 2/5 1-3 horas Aptitud para principiantes 57/100
statamic/cms#15832 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Select field preview disappears after reordering Replicator setsPosiblemente ocupada @lazerg la tomó hace 4 días. Abiertofieldtypes
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de statamic/cms
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
nikic/PHP-Parser#1187 ·
-
15.0
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Icinga/icinga-notifications-web#645 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
OpenMage/magento-lts#5865 ·
Los mantenedores suelen responder en 3 días