Multisite: switching site in the collection listing opens a different entry, not the localization
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 55/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- PHP
- Estrelas
- 4.9k
- Forks
- 647
- Merge médio
- 23h 42min
- PRs com merge (30d)
- 148
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de statamic/cms
-
tags
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
accessibility
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
Mantenedores costumam responder em até 1 dia
-
antlers
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
Mantenedores costumam responder em até 1 dia
-
antlers modifiers
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 57/100
statamic/cms#15832 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Select field preview disappears after reordering Replicator setsTalvez já em andamento @lazerg assumiu há 4 dias. Abertafieldtypes
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
Mantenedores costumam responder em até 1 dia
Todas as issues de statamic/cms
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
nikic/PHP-Parser#1187 ·
-
15.0
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
-
needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Icinga/icinga-notifications-web#645 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
OpenMage/magento-lts#5865 ·
Mantenedores costumam responder em até 3 dias