Closed gatgithub closed 8 years ago
I think this is an edge case, but it should still be handled. 401 is the Unauthorized http status code. The app should re-prompt for login in any case.
User Left invalidates User Right by logging in afterward, resulting in the 401 error when trying to logout or process an order. In these cases, I'm showing a more understandable message and logging the user out, telling them to try logging in again.
Can I also get the ioscopy for the error message?
Yep, makes sense. error-login-again
cc @xkokushox
Verified fixed - 09.02.2016 0 The following message is being displayed "Oops! Your session expired. Using multiple devices? Please login again :)
Issue No: 16 Device: iPhone 5S/ iOS 9.2.1 and iPad Air 2/ iOS 9.2
Affected Component(s)
Bug Description
ACTUAL RESULTS:- When the user logins in two different devices with the same account and creates any two different Bento Orders on both the devices and Taps on 'Finalize the order' on both the devices at the same time, the order on one of the devices goes through but the other device gets stuck with the below mentioned Error message. This message can not be cancelled and user cannot even log out from the device. User needs to delete and reinstall the app to continue on this device.
'Error - The operation couldn't be completed.(NSURL Error Domain error 401) '
EXPECTED RESULTS:- App should be able to gracefully handle, login and ordering simultaneously from two different devices.
OTHER NOTES / ERROR MESSAGES:- Devices used - iPhone 5S and iPad Air2
Account used in both the devices- ss1234@yahoo.com / ss1234
repro rate - 5/5
http://gat.gatserver.com/videos/ca4a1851edbe8a3d1b23134fe7f612dd5249ea024ae30f87151f586c75fc79649c9f9780ec3208494264800299c06f77
http://bugs8.gatserver.com/uploads/213a8ae8a779aea06fd4a6e7e299a62c.txt
Reproduction Steps