You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes when I try to save an entry (with ⌘ + S), I am instead redirected to the front page (/admin). My changes were not saved.
Steps to reproduce
It is difficult to reproduce, it happens sometimes on various devices for various people. Maybe it is, because they are logged in, we deploy an update and then the logged in state is corrupted (that is what the log files and my solution indicate (see below)).
Expected behavior
I would expect my data to be saved upon hitting ⌘ + S. I also would not expect to be redirected, instead be on the same page that I edit.
Actual behavior
I am redirected to the front page. No data was saved.
Solution
I can clear my browser data (Cookies, Session, etc.) or use an incognito tab (and login again).
Strange. Can you work on coming up with steps to reproduce? Maybe keep an eye on your JavaScript console and see if any JS errors are getting logged that could be interfering with the save process.
What happened?
Description
Sometimes when I try to save an entry (with ⌘ + S), I am instead redirected to the front page (/admin). My changes were not saved.
Steps to reproduce
Expected behavior
I would expect my data to be saved upon hitting ⌘ + S. I also would not expect to be redirected, instead be on the same page that I edit.
Actual behavior
I am redirected to the front page. No data was saved.
Solution
I can clear my browser data (Cookies, Session, etc.) or use an incognito tab (and login again).
web-2024-11-21.log
Craft CMS version
5.5.2
PHP version
8.3.12
Operating system and version
Linux 6.5.0-18-generic
Database type and version
MariaDB 10.6.18
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: