-
Notifications
You must be signed in to change notification settings - Fork 638
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
[4.x]: IntegrityException when saving entry at same time as automatic saving #11220
Comments
Same as @darylknight, I just faced that exact error on a |
We encounter similar issues in Craft 3.7.42 and are able te reproduce it in a fresh install of Craft. This error occurs in a very specific situation. Needed to reproduce: What we did: The error enclosed will occur, What you can do to not show this error is one of the following:
|
We're also seeing this issue. It only occurs with a specific entry type. All other entry types save without throwing this error. The error thrown.
If I hit the back button and reload the entry edit screen I see the "Entry Saved" cp message and the data I've edited has been saved. |
@JohnCBent that sounds more like #11083, which was fixed in 3.7.41. |
I’m seeing the same errors when saving entries with 3.7.42.
Plugin info below in case that’s useful. Plugins →Amazon S3 1.3.0 |
Thanks all! Just released Craft 3.7.43 and 4.0.3 with a fix for this. |
What happened?
Description
When I have an entry with a couple of simple fields. Sometimes, when I save rapidly at the same time as the automatic saving (which happens often for me when I save with ctrl+s), I get this error:
If I reload the page and save again, it works fine.
Craft CMS version
4.0.2
PHP version
8.0.18
Operating system and version
Windows 11
Database type and version
MariaDB 10.6.5
Image driver and version
GD 8.0.18
Installed plugins and versions
No response
The text was updated successfully, but these errors were encountered: