Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028257Retail ModulesWeb POSpublic2014-11-24 10:352015-04-24 10:41
aaroncalero 
aaroncalero 
normalminoralways
closedfixed 
5
 
piRR15Q1 
marvintm
No
0028257: If a synchronization request to the backend takes too long the WebPOS goes offline
If a synchronization request to the backend takes too long the WebPOS goes offline for a second, and after coming back online it tries to synchronize all models again.
Create 100 tickets while offline
Reconnect to the server
The POS tries to synchronize the 100 tickets in a single request.
The request will be correctly processed by the server, but it will take more than 20 seconds and the POS will register the process as timed out
Increase the timeout of the request depending on the amount of records to be synchronized.
No tags attached.
depends on defect 0028194RR15Q1 closed aaroncalero When WEBPOS come back from offline to online the pending orders are sent in batches of 300 orders 
diff Issue28257_Q3.4_Backport_MobileCore.diff (861) 2015-01-14 13:07
https://issues.openbravo.com/file_download.php?file_id=7679&type=bug
diff Issue28257_Q3.4_Backport_Posterminal.diff (779) 2015-01-14 13:07
https://issues.openbravo.com/file_download.php?file_id=7680&type=bug
Issue History
2014-11-24 10:35aaroncaleroNew Issue
2014-11-24 10:35aaroncaleroAssigned To => aaroncalero
2014-11-24 10:35aaroncaleroTriggers an Emergency Pack => No
2014-11-24 12:32hgbotCheckin
2014-11-24 12:32hgbotNote Added: 0071930
2014-11-24 12:32hgbotStatusnew => resolved
2014-11-24 12:32hgbotResolutionopen => fixed
2014-11-24 12:32hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f6ed0f0a1b02a3e72322c3ce1cb8ff449f4a3c2f [^]
2014-11-24 12:33hgbotCheckin
2014-11-24 12:33hgbotNote Added: 0071932
2014-11-24 12:33hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f6ed0f0a1b02a3e72322c3ce1cb8ff449f4a3c2f [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2d94e9a2b0213c5769c80977cb6cb7f514e45dab [^]
2014-12-09 18:06marvintmReview Assigned To => marvintm
2014-12-09 18:06marvintmStatusresolved => closed
2014-12-09 18:06marvintmFixed in Version => RR15Q1
2015-01-14 13:07aaroncaleroFile Added: Issue28257_Q3.4_Backport_MobileCore.diff
2015-01-14 13:07aaroncaleroFile Added: Issue28257_Q3.4_Backport_Posterminal.diff
2015-01-14 13:08aaroncaleroNote Added: 0073489
2015-04-24 10:41OrekariaRelationship addeddepends on 0028194

Notes
(0071930)
hgbot   
2014-11-24 12:32   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f6ed0f0a1b02a3e72322c3ce1cb8ff449f4a3c2f
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Mon Nov 24 12:31:22 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f6ed0f0a1b02a3e72322c3ce1cb8ff449f4a3c2f [^]

Fixed issue 28257: If a synchronization request to the backend takes too long the WebPOS goes offline

Set default timePerRecord values for Order model (1 second) and Cashup model (10 seconds)

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0071932)
hgbot   
2014-11-24 12:33   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 2d94e9a2b0213c5769c80977cb6cb7f514e45dab
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Mon Nov 24 12:25:22 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2d94e9a2b0213c5769c80977cb6cb7f514e45dab [^]

Fixed issue 28257: If a synchronization request to the backend takes too long the WebPOS goes offline

The timeout by default for most synchronization requests was 20 seconds, regardless of the amount of data to be synchronized. With this fix the timeout is increased proportionally to the number of records to be synchronized

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0073489)
aaroncalero   
2015-01-14 13:08   
Attached diff files to backport this issue to version RR14Q3.4