Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028257
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2014-11-24 10:352015-04-24 10:41
ReporteraaroncaleroView Statuspublic 
Assigned Toaaroncalero 
PrioritynormalResolutionfixedFixed in VersionRR15Q1
StatusclosedFix in branchFixed in SCM revision2d94e9a2b021
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028257: If a synchronization request to the backend takes too long the WebPOS goes offline

DescriptionIf 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.
Steps To ReproduceCreate 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
Proposed SolutionIncrease the timeout of the request depending on the amount of records to be synchronized.
TagsNo tags attached.
Attached Filesdiff file icon Issue28257_Q3.4_Backport_MobileCore.diff [^] (861 bytes) 2015-01-14 13:07 [Show Content]
diff file icon Issue28257_Q3.4_Backport_Posterminal.diff [^] (779 bytes) 2015-01-14 13:07 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0028194RR15Q1 closedaaroncalero When WEBPOS come back from offline to online the pending orders are sent in batches of 300 orders 

-  Notes
(0071930)
hgbot (developer)
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 (developer)
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 (manager)
2015-01-14 13:08

Attached diff files to backport this issue to version RR14Q3.4

- Issue History
Date Modified Username Field Change
2014-11-24 10:35 aaroncalero New Issue
2014-11-24 10:35 aaroncalero Assigned To => aaroncalero
2014-11-24 10:35 aaroncalero Triggers an Emergency Pack => No
2014-11-24 12:32 hgbot Checkin
2014-11-24 12:32 hgbot Note Added: 0071930
2014-11-24 12:32 hgbot Status new => resolved
2014-11-24 12:32 hgbot Resolution open => fixed
2014-11-24 12:32 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f6ed0f0a1b02a3e72322c3ce1cb8ff449f4a3c2f [^]
2014-11-24 12:33 hgbot Checkin
2014-11-24 12:33 hgbot Note Added: 0071932
2014-11-24 12:33 hgbot Fixed in SCM revision http://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:06 marvintm Review Assigned To => marvintm
2014-12-09 18:06 marvintm Status resolved => closed
2014-12-09 18:06 marvintm Fixed in Version => RR15Q1
2015-01-14 13:07 aaroncalero File Added: Issue28257_Q3.4_Backport_MobileCore.diff
2015-01-14 13:07 aaroncalero File Added: Issue28257_Q3.4_Backport_Posterminal.diff
2015-01-14 13:08 aaroncalero Note Added: 0073489
2015-04-24 10:41 Orekaria Relationship added depends on 0028194


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker