-
Notifications
You must be signed in to change notification settings - Fork 171
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]: Integrity constraint violation after updating to 5.2.9/fixing #3805 #3862
Comments
Hi Luke, maybe it helps if I share credentials for the demo page I've created? (https://living-eft-ae150c3.demo.craft.cloud/admin/commerce/products/bike/820960?site=default&draftId=83&fresh=1#tab04-variants) Have you enabled revisions for that product type? Here's the error:
|
Looks like an error when dealing with the element activity table which is a core Craft table and not Commerce. I confirm I have revisions on for the product type but still can't reproduce it. I don't have access to that test site. Could you send in a support ticket with more info and reference this ticket? Thanks. |
@gopeter can you test this on Commerce 5.3 and if the issue is persisting, send a DB backup, composer.json and composer.lock to [email protected] and we will attempt to reproduce. Please mention this github number in your email. Thanks! |
Hi @lukeholder, /edit Files are sent 👍 |
What happened?
Description
I want to create a new product (under special circumstances which are described in "Steps to reproduce") but get a "Integrity constraint violation" error once I want to save it.
I did a lot of local debugging and this commit breaks our current shop: cdb0426
Steps to reproduce
I was also able to reproduce it in the demo shop: https://living-eft-ae150c3.demo.craft.cloud/admin/commerce/products/bike/820960?site=default&draftId=83&fresh=1#tab04-variants (I've added a second test site and a test matrix field called "Settings")
Craft CMS version
5.5.9
Craft Commerce version
>= 5.2.9
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
No response
The text was updated successfully, but these errors were encountered: