Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0038615 | Retail Modules | Web POS | public | 2018-05-24 12:59 | 2018-07-05 08:29 |
|
Reporter | jorge-garcia | |
Assigned To | jorge-garcia | |
Priority | urgent | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR18Q3 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | OBPS |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0038615: For each masterdata records insert failure webPOS generates a new masterdata request thread |
Description | For each masterdata records insert failure webPOS generates a new masterdata request thread |
Steps To Reproduce | 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. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0038895 | RR18Q2.1 | closed | jorge-garcia | For each masterdata records insert failure webPOS generates a new masterdata request thread |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-05-24 12:59 | jorge-garcia | New Issue | |
2018-05-24 12:59 | jorge-garcia | Assigned To | => jorge-garcia |
2018-05-24 12:59 | jorge-garcia | OBNetwork customer | => No |
2018-05-24 12:59 | jorge-garcia | Triggers an Emergency Pack | => No |
2018-05-24 13:00 | jorge-garcia | OBNetwork customer | No => Yes |
2018-05-24 13:00 | jorge-garcia | Resolution time | => 1527717600 |
2018-05-24 13:00 | jorge-garcia | Status | new => scheduled |
2018-05-24 14:11 | umartirena | Issue Monitored: umartirena | |
2018-05-24 16:35 | egoitz | Issue Monitored: egoitz | |
2018-05-24 16:35 | egoitz | Issue Monitored: malsasua | |
2018-05-28 08:36 | hgbot | Checkin | |
2018-05-28 08:36 | hgbot | Note Added: 0104735 | |
2018-05-28 08:36 | hgbot | Checkin | |
2018-05-28 08:36 | hgbot | Note Added: 0104736 | |
2018-05-28 08:36 | hgbot | Checkin | |
2018-05-28 08:36 | hgbot | Note Added: 0104737 | |
2018-05-28 08:36 | hgbot | Status | scheduled => resolved |
2018-05-28 08:36 | hgbot | Resolution | open => fixed |
2018-05-28 08:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a5ef65a60fe69d039e4dcebbe353f0dfeae69a49 [^] |
2018-05-31 18:41 | marvintm | Review Assigned To | => marvintm |
2018-05-31 18:41 | marvintm | Status | resolved => closed |
2018-05-31 18:41 | marvintm | Fixed in Version | => RR18Q3 |
2018-07-05 08:29 | jorge-garcia | Note Added: 0105604 | |
2018-07-05 08:29 | jorge-garcia | Status | closed => new |
2018-07-05 08:29 | jorge-garcia | Resolution | fixed => open |
2018-07-05 08:29 | jorge-garcia | Fixed in Version | RR18Q3 => |
2018-07-05 08:29 | jorge-garcia | Status | new => scheduled |
2018-07-05 08:29 | jorge-garcia | Status | scheduled => resolved |
2018-07-05 08:29 | jorge-garcia | Resolution | open => fixed |
2018-07-05 08:29 | jorge-garcia | Status | resolved => closed |
2018-07-05 08:29 | jorge-garcia | Fixed 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
|
|
|
|
(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 |
|