Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028194 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | have not tried | 2014-11-17 17:16 | 2014-12-10 13:26 | |||
Reporter | jonalegriaesarte | View Status | public | |||||
Assigned To | aaroncalero | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR15Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 1a1e3288744e | ||||
Projection | none | ETA | none | Target Version | RR15Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 32480 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028194: When WEBPOS come back from offline to online the pending orders are sent in batches of 300 orders | |||||||
Description | When WEBPOS come back from offline to online the pending orders are sent in batches of 300 orders | |||||||
Steps To Reproduce | Let's see an example: 1.- You get offline 2.- You create 1000 orders 3.- You come back online and only 300 orders are sent to the backend 4.- Then each time you save a new order, others 300 orders will be sent until there are no more orders to send. It seems there is a limit hardcoded that causes this behavior. There should not be a limit in number of orders sent from WebPOS when you get online. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0071787) mtaal (viewer) 2014-11-18 17:50 edited on: 2014-11-18 17:51 |
I guess the limit is there not to overload the backend. So the behavior can be to send batches of orders to the backend. Maybe even smaller batches (100 orders seems to be fine). But the logic should send all the batches of orders in one sync step when the user enters a order, so not one batch per order. |
(0071931) hgbot (developer) 2014-11-24 12:33 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 1a1e3288744ee222379338da5992a4fc75d55b96 Author: Aaron Calero <aaron.calero <at> openbravo.com> Date: Mon Nov 24 10:18:08 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1a1e3288744ee222379338da5992a4fc75d55b96 [^] Fixed issue 28194: When WEBPOS come back from offline to online the pending orders are sent in batches of 300 orders Added a limit = -1 clause to the sql that recovers the data to be sync'ed. This will override each model's dataLimit. For each model, split the collection of records in batches of 100 to be sent to the backend. Added a flag to mark if the model has been fully sync'ed. Finally, changed the callbacks to call syncModel on the same model if the model hasn't been fully sync'ed --- M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2014-11-17 17:16 | jonalegriaesarte | New Issue | |
2014-11-17 17:16 | jonalegriaesarte | Assigned To | => marvintm |
2014-11-17 17:16 | jonalegriaesarte | OBNetwork customer | => No |
2014-11-17 17:16 | jonalegriaesarte | Support ticket | => 32480 |
2014-11-17 17:16 | jonalegriaesarte | Resolution time | => 1417561200 |
2014-11-17 17:16 | jonalegriaesarte | Triggers an Emergency Pack | => No |
2014-11-17 17:16 | jonalegriaesarte | Target Version | => RR15Q1 |
2014-11-17 17:16 | jonalegriaesarte | Steps to Reproduce Updated | View Revisions |
2014-11-17 17:21 | rafademiguel | Issue Monitored: rafademiguel | |
2014-11-17 17:52 | jonalegriaesarte | OBNetwork customer | No => Yes |
2014-11-18 17:50 | mtaal | Note Added: 0071787 | |
2014-11-18 17:51 | mtaal | Note Edited: 0071787 | View Revisions |
2014-11-18 17:51 | mtaal | Assigned To | marvintm => aaroncalero |
2014-11-24 12:33 | hgbot | Checkin | |
2014-11-24 12:33 | hgbot | Note Added: 0071931 | |
2014-11-24 12:33 | hgbot | Status | new => resolved |
2014-11-24 12:33 | hgbot | Resolution | open => fixed |
2014-11-24 12:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1a1e3288744ee222379338da5992a4fc75d55b96 [^] |
2014-12-10 13:26 | marvintm | Review Assigned To | => marvintm |
2014-12-10 13:26 | marvintm | Status | resolved => closed |
2014-12-10 13:26 | marvintm | Fixed in Version | => RR15Q1 |
2015-04-24 10:41 | Orekaria | Relationship added | blocks 0028257 |
Copyright © 2000 - 2009 MantisBT Group |