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
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
Create a multi-site (important!) shop
Create a product where revisions are enabled (important!)
Create a matrix field with a simple entry type
Add this matrix field to the variant fields of this product and set propagation method to "save everywhere the owner is saved" (important!)
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!
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: