TentaCrew / STOFMA

Student Office Manager, manage your cafeteria sales and purchases easily.
http://dev.bde-ciaa.fr
5 stars 3 forks source link

Not enough items #27

Closed edimitchel closed 9 years ago

edimitchel commented 9 years ago

When I do a sale, I have 407 HTTP error Not enough items while product have enough stock.

For example: It leaves 1 bottle of water, I select one for selling it. I confirm et got error..

image

image

image

image The message of this alert error is inappropriate but it's not the problem.

corentindesfarges commented 9 years ago

Can you reproduce this bug with another customer, or is it specific for the guest member ? Can you reproduce the bug without your uncommitted changes ?

edimitchel commented 9 years ago

This bug occurs independently the selected customer / guest.

corentindesfarges commented 9 years ago

And without your local changes?

edimitchel commented 9 years ago

I don't try without my local changes it but I thinking the problem is on the api side : Data sended are good but not the response.

image

image

edimitchel commented 9 years ago

For test, I did a sale of X-1 products while his stock is X, and it works ! But when I did a sale of X products, it fails.