Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037884Retail ModulesWeb POSpublic2018-02-12 12:182018-02-13 19:01
migueldejuana 
migueldejuana 
normalmajoralways
closedfixed 
5
 
RR18Q2 
marvintm
Production - Confirmed Stable
2017-10-27
RR17Q4
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f9a5ed18969e#l1.30 [^]
No
0037884: 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.
depends on backport 0037902RR18Q1 closed Retail When Incremental fails POS gets unestable. 
depends on backport 0037903RR17Q4.1 closed Retail When Incremental fails POS gets unestable. 
caused by defect 0036821 closed jorge-garcia During the login if the insert of masterdata fails no error is raised 
Issue History
2018-02-12 12:18migueldejuanaNew Issue
2018-02-12 12:18migueldejuanaAssigned To => Retail
2018-02-12 12:18migueldejuanaTriggers an Emergency Pack => No
2018-02-12 17:15migueldejuanaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16672#r16672
2018-02-12 17:29migueldejuanaRegression level => Production - Confirmed Stable
2018-02-12 17:29migueldejuanaRegression introduced in release => RR17Q3
2018-02-12 17:29migueldejuanaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16675#r16675
2018-02-13 12:43migueldejuanaRegression date => 2017-10-27
2018-02-13 12:43migueldejuanaRegression introduced in releaseRR17Q3 => RR17Q4
2018-02-13 12:43migueldejuanaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f9a5ed18969e#l1.30 [^]
2018-02-13 12:43migueldejuanaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16678#r16678
2018-02-13 12:43migueldejuanaRelationship addedcaused by 0036821
2018-02-13 13:24migueldejuanaStatusnew => scheduled
2018-02-13 13:24migueldejuanaAssigned ToRetail => migueldejuana
2018-02-13 15:26migueldejuanaNote Added: 0102367
2018-02-13 15:27migueldejuanaStatusscheduled => resolved
2018-02-13 15:27migueldejuanaFixed in Version => RR18Q2
2018-02-13 15:27migueldejuanaResolutionopen => fixed
2018-02-13 15:47hgbotCheckin
2018-02-13 15:47hgbotNote Added: 0102368
2018-02-13 15:47hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR17Q4.1/org.openbravo.mobile.core/rev/69e8795b9a78d3aa996f5f1e62be9c8f5a46d744 [^]
2018-02-13 15:49migueldejuanaNote Deleted: 0102368
2018-02-13 16:58hgbotCheckin
2018-02-13 16:58hgbotNote Added: 0102375
2018-02-13 16:58hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR17Q4.1/org.openbravo.mobile.core/rev/69e8795b9a78d3aa996f5f1e62be9c8f5a46d744 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/55796eef60c0370d9a2f5e4c6233393994102da5 [^]
2018-02-13 19:01marvintmReview Assigned To => marvintm
2018-02-13 19:01marvintmStatusresolved => closed

Notes
(0102367)
migueldejuana   
2018-02-13 15:26   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 844ebfd5cc1cac04956292ffb88b22ec03bd66ed
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Feb 13 15:18:01 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/844ebfd5cc1cac04956292ffb88b22ec03bd66ed [^] [^]

Fixed issue 0036821: During the login if the insert of masterdata fails no error is raised

- 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
(0102375)
hgbot   
2018-02-13 16:58   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 55796eef60c0370d9a2f5e4c6233393994102da5
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Feb 13 16:58:14 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/55796eef60c0370d9a2f5e4c6233393994102da5 [^]

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

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