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

Error to create a product with a supplier associated #54

Open
SamBelmor opened this issue Feb 10, 2020 · 3 comments
Open

Error to create a product with a supplier associated #54

SamBelmor opened this issue Feb 10, 2020 · 3 comments

Comments

@SamBelmor
Copy link

When I log in as admin, if I create a product and click on the Create button, the product is saved but the supplier provided disappears and is not saved, and I must update that product and provide the supplier again.

Also when I update a product and I remove their associated supplier, and I add more that one supplier to that product, the new suppliers are not saved and the supplier showing up in the field is the same supplier that I deleted.

@dhonig
Copy link
Contributor

dhonig commented Feb 10, 2020

@acreilly any ideas on this one?

@SamBelmor
Copy link
Author

SamBelmor commented Feb 11, 2020

I already fixed this in my project @dhonig , I could fix it here but I'd like to be sure that this isn't happening only for me.

The problem here is that here only is validating when the user is a supplier, but they do not exist a validation for the user with an admin role.

@TiffanyP
Copy link

TiffanyP commented Feb 13, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants