bentocorp / ios

The customer iOS app
2 stars 0 forks source link

[GAT-BEI003-47] App crashes if the user tries to place an order while the product is not longer available #496

Open gatgithub opened 8 years ago

gatgithub commented 8 years ago

Issue No: 47 Device: iPhone 5S (8.1)

Affected Component(s)


Bug Description

ACTUAL RESULTS:- It was observed that the app crashes if the user tries to place an order while the product is not longer available (if the product is deleted from Admin Panel > Menu)

In order to reproduce this issue you have to add the product to cart and you have to wait approximately 5 minutes that that the admin menu is synced with the app.

EXPECTED RESULTS:- Error saying that the product is not longer available should be displayed.

OTHER NOTES / ERROR MESSAGES:- http://bugs8.gatserver.com/uploads/d991667abd60f8ab75e1a6195cbb572f.crash http://bugs8.gatserver.com/uploads/7ab669a7bdc8bc068b5d66dd18ebe4a5.crash http://bugs8.gatserver.com/uploads/860a7e1a1d80dcc1d68ae19427a09a39.crash http://bugs8.gatserver.com/uploads/26bd91d34372d9a856fb533dd72d1f84.crash http://bugs8.gatserver.com/uploads/e0415490396cd6739bb0a0ea47dd0168.crash http://bugs8.gatserver.com/uploads/acd671ec2d215420f2809fcee584e477.crash http://bugs8.gatserver.com/uploads/e4be4948a768f6c5a983fe89bf47cc0a.mp4


Reproduction Steps

vcardillo commented 8 years ago

I think this is an edge case. I believe that the issue is that while it was removed from the menu, the inventory wasn't first removed, and this isn't something that's ever going to really happen.