Skip to content
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

Add a new product with image after second submit throws a exception #356

Closed
tlfbrito opened this issue Sep 27, 2013 · 2 comments
Closed
Labels
Potential Bug Potential bugs or bugfixes, that needs to be reproduced.

Comments

@tlfbrito
Copy link

If you submit a new product with an image attached and leave a required field blank, I get a validation error, which is good. But after fill the required field and submit the new product, Sylius will raise an exception related to the uploaded image.

An exception occurred while executing 'INSERT INTO sylius_variant_image (path, created_at, updated_at, variant_id) VALUES (?, ?, ?, ?)' with params [null, "2013-09-27 01:19:18", "2013-09-27 01:19:18", 713]:

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'path' cannot be null

@arnolanglade arnolanglade mentioned this issue Dec 4, 2013
arnolanglade added a commit to arnolanglade/Sylius that referenced this issue Dec 4, 2013
@pjedrzejewski pjedrzejewski reopened this Jan 8, 2014
@sabliao
Copy link

sabliao commented Jul 2, 2014

I have this problem too. Is there any pull request that solves this problem?

@stloyd
Copy link
Contributor

stloyd commented Jul 8, 2014

This was probably fixed by #1687.

pamil pushed a commit to pamil/Sylius that referenced this issue Mar 21, 2016
…adjustment

Adding docs about renaming label to type on adjustment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug Potential bugs or bugfixes, that needs to be reproduced.
Projects
None yet
Development

No branches or pull requests

4 participants