Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038615
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorsometimes2018-05-24 12:592018-07-05 08:29
Reporterjorge-garciaView Statuspublic 
Assigned Tojorge-garcia 
PriorityurgentResolutionfixedFixed in VersionRR18Q3
StatusclosedFix in branchFixed in SCM revisiona5ef65a60fe6
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038615: For each masterdata records insert failure webPOS generates a new masterdata request thread

DescriptionFor each masterdata records insert failure webPOS generates a new masterdata request thread
Steps To Reproduce1) 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0038895RR18Q2.1 closedjorge-garcia For each masterdata records insert failure webPOS generates a new masterdata request thread 

-  Notes
(0104735)
hgbot (developer)
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 (developer)
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 (developer)
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 (reporter)
2018-07-05 08:29

Reopened to create backports

- 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 Triggers an Emergency Pack => No
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker