Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037903Retail ModulesWeb POSpublic2018-02-12 12:182018-02-13 19:01
migueldejuana 
Retail 
normalmajoralways
closedfixed 
5
 
RR17Q4.1RR17Q4.1 
marvintm
No
Production - Confirmed Stable
2017-10-27
RR17Q4
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f9a5ed18969e#l1.30 [^]
No
0037903: When Incremental fails POS gets unestable.
When an incremental refresh fails in the login process the POS gets unstable.
- Login in Web POS
. Create and order, paid it fully and press SCAN button
- Add a breakpoint in Products.java
- Press F5 and you will see the breakpoint stopping the execution
- POS moves to offline and the resume the execution(F8 in Eclipse)
- ERROR! BP and BPL is empty, then is set, then empty again
- ERROR! Document Number empty, then is set, then empty again
- ERROR! Total is 0, then is set to the real total, then empty again
- ERROR! If we go to payment panel, Done button is not there or if it is there, pressing it makes POS to fail.
No tags attached.
blocks defect 0037884 closed migueldejuana When Incremental fails POS gets unestable. 
Issue History
2018-02-13 13:24migueldejuanaTypedefect => backport
2018-02-13 13:24migueldejuanaTarget Version => RR17Q4.1
2018-02-13 15:49migueldejuanaNote Added: 0102369
2018-02-13 15:49migueldejuanaStatusscheduled => resolved
2018-02-13 15:49migueldejuanaResolutionopen => fixed
2018-02-13 17:02hgbotCheckin
2018-02-13 17:02hgbotNote Added: 0102377
2018-02-13 17:02hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR17Q4.1/org.openbravo.mobile.core/rev/c80895e3f445bbb8950d5a74a7d0607f5e73b9f6 [^]
2018-02-13 19:01marvintmReview Assigned To => marvintm
2018-02-13 19:01marvintmStatusresolved => closed
2018-02-13 19:01marvintmFixed in Version => RR17Q4.1

Notes
(0102369)
migueldejuana   
2018-02-13 15:49   
Repository: retail/backports/3.0RR17Q4.1/org.openbravo.mobile.core
Changeset: 69e8795b9a78d3aa996f5f1e62be9c8f5a46d744
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Feb 13 15:47:36 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q4.1/org.openbravo.mobile.core/rev/69e8795b9a78d3aa996f5f1e62be9c8f5a46d744 [^] [^]

Fixed issue 0037884: When Incremental fails POS gets unestable.

- We must stop the incremental refresh if one model fails because we don't need to retrieve data because we have enough data to work. Doing a full refresh we need to continue retrieving models to charge them and failed models will be charged in the next try of login.

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
(0102377)
hgbot   
2018-02-13 17:02   
Repository: retail/backports/3.0RR17Q4.1/org.openbravo.mobile.core
Changeset: c80895e3f445bbb8950d5a74a7d0607f5e73b9f6
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Feb 13 17:02:18 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q4.1/org.openbravo.mobile.core/rev/c80895e3f445bbb8950d5a74a7d0607f5e73b9f6 [^]

Fixed issue 0037903: When Incremental fails POS gets unestable.

- Case when the backend returns error will now be handled correctly on incremental.

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---