Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027272Retail ModulesWeb POSpublic2014-08-04 13:262014-08-17 22:02
marvintm 
marvintm 
normalmajorhave not tried
newopen 
5
 
 
No
0027272: Web POS should log offline if server is responding with errors
Right now, when the user authenticates, the Web POS sends an authentication request to the backend.

- If this request succeeds, then the Web POS attempts to log in online.
- If the request fails, then the Web POS logs offline.
- If the request takes too much time to finalize, then the Web POS also logs in offline.

We've found another case, which is that the server returns error, but not due to failure in authentication, but due to the fact that there is a serious problem in the backend. In the detected case, the database was always returning error in all operations, due to the fact that the hard disk was full. However, there could be other similar cases.

In this case, the Web POS should not fail to authenticate, but instead log in offline, and allow the users to continue working as if the server was completely down.
It's not easy to reproduce this case, but maybe it can start with shutting down the database while the server is still up, and then trying to access the Web POS.
No tags attached.
Issue History
2014-08-04 13:26marvintmNew Issue
2014-08-04 13:26marvintmAssigned To => marvintm
2014-08-04 13:26marvintmTriggers an Emergency Pack => No
2014-08-17 22:02mtaalTypedefect => feature request

There are no notes attached to this issue.