Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x]: Saving not working, redirect to /admin #16179

Open
fvwanja opened this issue Nov 21, 2024 · 1 comment
Open

[5.x]: Saving not working, redirect to /admin #16179

fvwanja opened this issue Nov 21, 2024 · 1 comment
Labels

Comments

@fvwanja
Copy link

fvwanja commented Nov 21, 2024

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

  1. 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).

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

  • Admin Bar 5.0.0
  • Breadcrumb 3.0.0
  • CKEditor 4.4.0
  • Minify 5.0.0
  • Obfuscator 1.2.0
  • SEO 5.0.0
  • Table Maker 5.0.3
@fvwanja fvwanja added the bug label Nov 21, 2024
@brandonkelly
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants