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

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

Open
gatgithub opened this issue Feb 1, 2016 · 1 comment

Comments

@gatgithub
Copy link

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

Affected Component(s)

  • Ordering process

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

  • Go to Admin Panel
  • Edit the menu and delete one product
  • Launch the app
  • Build the bento with the product that has been deleted
  • Select "Finalize order" button
  • Wait approximately 5 min
  • Select "Let's eat" button
  • Notice that the app crashes
@vcardillo
Copy link
Member

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.

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

No branches or pull requests

3 participants