Action always shows the previously viewed record in the modal
Hello guys,
I’m experiencing an issue in our production application using Filament 3 + Livewire:
Error description:
There seems to be a failure in state synchronization of the Livewire component used by Filament between AJAX requests. The session in production (especially with the
Thank you for any guidance or tips on specific logs/debugging techniques to capture component state across clicks.
I’m experiencing an issue in our production application using Filament 3 + Livewire:
Error description:
- When I click any Filament Action to view a record inside a modal, the component always shows the previously viewed record.
- Only after performing a full browser refresh (F5) does it display the correct record.
- On localhost everything works as expected.
- Laravel cache: ran
php artisan cache:clear,config:clear,route:clear,view:clearand manually deletedstorage/framework/cache,sessions,views, andbootstrap/cache. - Session driver: tested both
SESSION_DRIVER=fileand
(withdatabasesessionstable created via migration). - Environment parity: Filament 3, and Livewire versions/configs identical between local and production.
- Browser cache: cleared cookies, tested in incognito mode and across different browsers.
- JavaScript / Livewire: no console errors; Livewire and Filament scripts load without failure.
- Filesystem permissions:
storage/andbootstrap/cache/owned bywww-data:www-data, perms775.
There seems to be a failure in state synchronization of the Livewire component used by Filament between AJAX requests. The session in production (especially with the
database driver) or the authentication middleware may not be propagating the updated state, causing the component to “stick” to the previous record until a full page reload.Thank you for any guidance or tips on specific logs/debugging techniques to capture component state across clicks.