Hi,
I got this error in BO (v1.0.0-alpha) when I try to add a picture to my product :
An exception occurred while executing 'INSERT INTO sylius_product_image (code, path, owner_id) VALUES (?, ?, ?)' with params [null, "32\/dd\/28f0b9dba5559620edebbb6094ad.jpeg", 425]:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'code' cannot be null
I got the same issue on demo (Error 500) can you fix this issue please ?
Thanks
@lucassimonin could you give us some details about that? I've tried to recreate this bug, but everything locally and also on demo looks good.
If you add picture by here :

Nothing happend (We think that), but when you tried to submit you got :

Ok, we have a problem that validation message doesn't appear, because a code is required.
Oh ok I understand the problem thank you :)
Most helpful comment
Ok, we have a problem that validation message doesn't appear, because a code is required.