Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037902Retail ModulesWeb POSpublic2018-02-12 12:182018-02-13 19:01
migueldejuana 
Retail 
normalmajoralways
closedfixed 
5
 
RR18Q1RR18Q1 
marvintm
Production - Confirmed Stable
2017-10-27
RR17Q4
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f9a5ed18969e#l1.30 [^]
No
0037902: 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 => RR18Q1
2018-02-13 15:49hgbotCheckin
2018-02-13 15:49hgbotNote Added: 0102370
2018-02-13 15:49hgbotStatusscheduled => resolved
2018-02-13 15:49hgbotResolutionopen => fixed
2018-02-13 15:49hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.mobile.core/rev/7b6c7666decf535c56af0b90ab186892dc2e29c2 [^]
2018-02-13 16:59hgbotCheckin
2018-02-13 16:59hgbotNote Added: 0102376
2018-02-13 16:59hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.mobile.core/rev/7b6c7666decf535c56af0b90ab186892dc2e29c2 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.mobile.core/rev/4946a644c7791eb2fe02359b3279c17967400099 [^]
2018-02-13 19:01marvintmReview Assigned To => marvintm
2018-02-13 19:01marvintmStatusresolved => closed
2018-02-13 19:01marvintmFixed in Version => RR18Q1

Notes
(0102370)
hgbot   
2018-02-13 15:49   
Repository: retail/backports/3.0RR18Q1/org.openbravo.mobile.core
Changeset: 7b6c7666decf535c56af0b90ab186892dc2e29c2
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Feb 13 15:49:38 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.mobile.core/rev/7b6c7666decf535c56af0b90ab186892dc2e29c2 [^]

Fixed issue 0037902: 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
---
(0102376)
hgbot   
2018-02-13 16:59   
Repository: retail/backports/3.0RR18Q1/org.openbravo.mobile.core
Changeset: 4946a644c7791eb2fe02359b3279c17967400099
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Feb 13 16:59:23 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.mobile.core/rev/4946a644c7791eb2fe02359b3279c17967400099 [^]

Fixed issue 37902. Case when the backend returns error will now be handled correctly on incremental.

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