Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038615Retail ModulesWeb POSpublic2018-05-24 12:592018-07-05 08:29
jorge-garcia 
jorge-garcia 
urgentmajorsometimes
closedfixed 
5
 
RR18Q3 
marvintm
No
0038615: For each masterdata records insert failure webPOS generates a new masterdata request thread
For each masterdata records insert failure webPOS generates a new masterdata request thread
1) Clear the cache to force a full refresh
2) Load webPOS page
3) Put a breakpoint in tx.executeSql(insertStatement, values, null, handleError);
4) Login webPOS
5) Ignore breakpoint until masterdata models starts to be executed (i.e. Product)
6) Using console, change insertStatement variable to ""
7) Deactivate the breakpoint and continue the process. Infinite request are done to masterdata Category.
No tags attached.
depends on backport 0038895RR18Q2.1 closed jorge-garcia For each masterdata records insert failure webPOS generates a new masterdata request thread 
Issue History
2018-05-24 12:59jorge-garciaNew Issue
2018-05-24 12:59jorge-garciaAssigned To => jorge-garcia
2018-05-24 12:59jorge-garciaTriggers an Emergency Pack => No
2018-05-24 13:00jorge-garciaResolution time => 1527717600
2018-05-24 13:00jorge-garciaStatusnew => scheduled
2018-05-24 14:11umartirenaIssue Monitored: umartirena
2018-05-24 16:35egoitzIssue Monitored: egoitz
2018-05-24 16:35egoitzIssue Monitored: malsasua
2018-05-28 08:36hgbotCheckin
2018-05-28 08:36hgbotNote Added: 0104735
2018-05-28 08:36hgbotCheckin
2018-05-28 08:36hgbotNote Added: 0104736
2018-05-28 08:36hgbotCheckin
2018-05-28 08:36hgbotNote Added: 0104737
2018-05-28 08:36hgbotStatusscheduled => resolved
2018-05-28 08:36hgbotResolutionopen => fixed
2018-05-28 08:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a5ef65a60fe69d039e4dcebbe353f0dfeae69a49 [^]
2018-05-31 18:41marvintmReview Assigned To => marvintm
2018-05-31 18:41marvintmStatusresolved => closed
2018-05-31 18:41marvintmFixed in Version => RR18Q3
2018-07-05 08:29jorge-garciaNote Added: 0105604
2018-07-05 08:29jorge-garciaStatusclosed => new
2018-07-05 08:29jorge-garciaResolutionfixed => open
2018-07-05 08:29jorge-garciaFixed in VersionRR18Q3 =>
2018-07-05 08:29jorge-garciaStatusnew => scheduled
2018-07-05 08:29jorge-garciaStatusscheduled => resolved
2018-07-05 08:29jorge-garciaResolutionopen => fixed
2018-07-05 08:29jorge-garciaStatusresolved => closed
2018-07-05 08:29jorge-garciaFixed in Version => RR18Q3

Notes
(0104735)
hgbot   
2018-05-28 08:36   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: eef5aeb6dd28ddf300924e7788be5a466dd88909
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu May 24 13:33:33 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/eef5aeb6dd28ddf300924e7788be5a466dd88909 [^]

Related to issue 38615: For each masterdata records insert failure webPOS
generates a new masterdata request thread

Include error and warning log message to logclient and console, instead of
show it only on console.

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---
(0104736)
hgbot   
2018-05-28 08:36   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a1760fcaf971ba5e52ea4066ce905a35c893aa0a
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu May 24 15:36:35 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a1760fcaf971ba5e52ea4066ce905a35c893aa0a [^]

Related to issue 38615: For each masterdata records insert failure webPOS
generates a new masterdata request thread

Include transaction error in message.

---
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
---
(0104737)
hgbot   
2018-05-28 08:36   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a5ef65a60fe69d039e4dcebbe353f0dfeae69a49
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu May 24 15:40:53 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a5ef65a60fe69d039e4dcebbe353f0dfeae69a49 [^]

Fixed issue 38615: For each masterdata records insert failure webPOS
generates a new masterdata request thread

If insert or update transaction fail, the error callback should not execute the
next model. Instead of that, it should generate a error log message and make
the transaction to fail.

To indicate the transaction has failed, it is necessary to return true in error
callback in transaction sql.

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---
(0105604)
jorge-garcia   
2018-07-05 08:29   
Reopened to create backports