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!)
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: