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

Product prices bug with validation #9

Closed
tatarincev opened this issue Sep 18, 2017 · 2 comments
Closed

Product prices bug with validation #9

tatarincev opened this issue Sep 18, 2017 · 2 comments
Assignees
Labels

Comments

@tatarincev
Copy link
Contributor

How to reproduce:

Open product price widget for any product.
Change one pricelist price and click save.
Try to edit price again, get a validation error for all prices.
image

@tatarincev tatarincev added this to the Operations milestone Sep 18, 2017
@OlegoO OlegoO added the bug label Sep 19, 2017
@megafreeman
Copy link
Contributor

Fixed error in min quantity validation process by commit

@tatarincev
Copy link
Contributor Author

@megafreeman Related to this changes - 35945cc#diff-e5bd7c73a54c67abcdd513dfce59166aR172.
The best solution for checking the uniqueness constraint is a comparison of the strings resulting from the sum of the price .priceListId + "-" + price.quantity.

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

No branches or pull requests

3 participants