Openbravo Issue Tracking System - Retail Modules
View Issue Details
0023749Retail ModulesWeb POSpublic2013-05-07 00:492013-06-06 11:57
jecharri 
marvintm 
urgentmajoralways
closedfixed 
5
RMP21 
RMP23RMP23 
guilleaer
No
0023749: When the server is collapsed work in web POS is impossible
When the server is collapsed work in web POS is impossible.

You need to logout and login. In this way the application knows that the server is not working fine and it does the login in offline mode.

It will be really interesting if this change will be automatic. For example if you are working an answer from the server is taking a long time, the application should go to offline mode
-collapse the system and verify that you can not work in web POS if you do not logout and login

P.S.: if you want to collapse the server you can start tomcat with really low memory
No tags attached.
Issue History
2013-05-07 00:49jecharriNew Issue
2013-05-07 00:49jecharriAssigned To => marvintm
2013-05-07 08:55mtaalNote Added: 0058476
2013-05-13 18:03hgbotCheckin
2013-05-13 18:03hgbotNote Added: 0058624
2013-05-13 18:03hgbotStatusnew => resolved
2013-05-13 18:03hgbotResolutionopen => fixed
2013-05-13 18:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/095233ac9d388e6ca23ef535659181b42558f1f4 [^]
2013-05-13 18:06hgbotCheckin
2013-05-13 18:06hgbotNote Added: 0058625
2013-05-13 18:06hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/095233ac9d388e6ca23ef535659181b42558f1f4 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f66c3c7d64157fae91b64ebfe53dedf203ebd64a [^]
2013-05-23 07:51hgbotCheckin
2013-05-23 07:51hgbotNote Added: 0058861
2013-05-23 07:51hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f66c3c7d64157fae91b64ebfe53dedf203ebd64a [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.ch/rev/095233ac9d388e6ca23ef535659181b42558f1f4 [^]
2013-05-23 07:55hgbotCheckin
2013-05-23 07:55hgbotNote Added: 0058878
2013-05-23 07:55hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.ch/rev/095233ac9d388e6ca23ef535659181b42558f1f4 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.ch/rev/f66c3c7d64157fae91b64ebfe53dedf203ebd64a [^]
2013-05-28 16:10guilleaerReview Assigned To => guilleaer
2013-05-28 16:10guilleaerNote Added: 0058998
2013-05-28 16:10guilleaerStatusresolved => closed
2013-05-28 16:10guilleaerFixed in Version => RMP23
2013-05-29 12:18hgbotCheckin
2013-05-29 12:18hgbotNote Added: 0059023
2013-05-29 12:18hgbotStatusclosed => resolved
2013-05-29 12:18hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.ch/rev/f66c3c7d64157fae91b64ebfe53dedf203ebd64a [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.multiorder/rev/095233ac9d388e6ca23ef535659181b42558f1f4 [^]
2013-06-06 11:57guilleaerNote Added: 0059237
2013-06-06 11:57guilleaerStatusresolved => closed

Notes
(0058476)
mtaal   
2013-05-07 08:55   
To add, the client should do to offline mode also when requests to the server take too long time. You don't need to let the server collapse to test this. Add a thread wait here and there in the server side code to simulate a request to wait long.
(0058624)
hgbot   
2013-05-13 18:03   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 095233ac9d388e6ca23ef535659181b42558f1f4
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon May 13 18:02:53 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/095233ac9d388e6ca23ef535659181b42558f1f4 [^]

Fixed issue 23749. Added timeout to order and customer creation, so that they don't fail if the server is overloaded

---
M web/org.openbravo.retail.posterminal/js/data/datacustomersave.js
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
M web/org.openbravo.retail.posterminal/js/utils/customersSyncUtils.js
M web/org.openbravo.retail.posterminal/js/utils/ordersSyncUtils.js
---
(0058625)
hgbot   
2013-05-13 18:06   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: f66c3c7d64157fae91b64ebfe53dedf203ebd64a
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon May 13 18:03:26 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f66c3c7d64157fae91b64ebfe53dedf203ebd64a [^]

Fixed issue 23749. Added the ability to specify a timeout in a datasource request

---
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
---
(0058861)
hgbot   
2013-05-23 07:51   
Repository: erp/pmods/org.openbravo.retail.posterminal.ch
Changeset: 095233ac9d388e6ca23ef535659181b42558f1f4
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon May 13 18:02:53 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.ch/rev/095233ac9d388e6ca23ef535659181b42558f1f4 [^]

Fixed issue 23749. Added timeout to order and customer creation, so that they don't fail if the server is overloaded

---
M web/org.openbravo.retail.posterminal/js/data/datacustomersave.js
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
M web/org.openbravo.retail.posterminal/js/utils/customersSyncUtils.js
M web/org.openbravo.retail.posterminal/js/utils/ordersSyncUtils.js
---
(0058878)
hgbot   
2013-05-23 07:55   
Repository: erp/pmods/org.openbravo.mobile.core.ch
Changeset: f66c3c7d64157fae91b64ebfe53dedf203ebd64a
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon May 13 18:03:26 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.ch/rev/f66c3c7d64157fae91b64ebfe53dedf203ebd64a [^]

Fixed issue 23749. Added the ability to specify a timeout in a datasource request

---
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
---
(0058998)
guilleaer   
2013-05-28 16:10   
verified
(0059023)
hgbot   
2013-05-29 12:18   
Repository: erp/pmods/org.openbravo.retail.posterminal.multiorder
Changeset: 095233ac9d388e6ca23ef535659181b42558f1f4
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon May 13 18:02:53 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.multiorder/rev/095233ac9d388e6ca23ef535659181b42558f1f4 [^]

Fixed issue 23749. Added timeout to order and customer creation, so that they don't fail if the server is overloaded

---
M web/org.openbravo.retail.posterminal/js/data/datacustomersave.js
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
M web/org.openbravo.retail.posterminal/js/utils/customersSyncUtils.js
M web/org.openbravo.retail.posterminal/js/utils/ordersSyncUtils.js
---
(0059237)
guilleaer   
2013-06-06 11:57   
closed again because it has changed "automatically" to resolved