kj6682 / gundulf

gundful : a humble application entry point
0 stars 0 forks source link

chef: duplicate product insert can crash the shop workstation #4

Closed kj6682 closed 6 years ago

kj6682 commented 6 years ago

yesterday a slow connection made me think I had not inserted a record in the product catalog. it was quite the opposite and had 6 instances of the same product and pieces this crashes the shop appliation because of the indexing of the order lines.

avoid duplicate <product, pieces> couples when inserting the product

kj6682 commented 6 years ago

done in product 1.2.0 (dupliates are no more possible)