Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038384 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2018-04-17 09:01 | 2018-05-04 14:41 | |||
Reporter | jorge-garcia | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR18Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | c58ab4a99c00 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0038384: OB.Dal.queryUsingCache is not working if pass params parameter | |||||||
Description | OB.Dal.queryUsingCache is not working if pass params parameter | |||||||
Steps To Reproduce | Open developers tools from chrome a execute this code: var sql = "select * from m_product where 1 = 1 and m_product_id = ?"; OB.Dal.queryUsingCache(OB.Model.Product, sql, ['934E7D7587EC4C7A9E9FF58F0382D450'], function(result){debugger;}, null, null); In the first execution, result from callback has one product Execute again: OB.Dal.queryUsingCache(OB.Model.Product, sql, ['934E7D7587EC4C7A9E9FF58F0382D450'], function(result){debugger;}, null, null); In the second execution, result from callback is undefined | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0103952) hgbot (developer) 2018-04-18 08:34 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: c58ab4a99c008d431603286c16e3cbbfbac0fa33 Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Tue Apr 17 10:31:03 2018 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c58ab4a99c008d431603286c16e3cbbfbac0fa33 [^] Fixed issue 38384: OB.Dal.queryUsingCache is not working if pass params parameter Use complete API from OB.Cache to pass sql and params as parameter. --- M web/org.openbravo.mobile.core/source/data/ob-dal.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2018-04-17 09:01 | jorge-garcia | New Issue | |
2018-04-17 09:01 | jorge-garcia | Assigned To | => jorge-garcia |
2018-04-17 09:01 | jorge-garcia | OBNetwork customer | => No |
2018-04-17 09:01 | jorge-garcia | Triggers an Emergency Pack | => No |
2018-04-17 10:28 | jorge-garcia | Steps to Reproduce Updated | View Revisions |
2018-04-17 11:15 | jorge-garcia | Relationship added | related to 0038372 |
2018-04-17 11:15 | jorge-garcia | Status | new => scheduled |
2018-04-18 08:34 | hgbot | Checkin | |
2018-04-18 08:34 | hgbot | Note Added: 0103952 | |
2018-04-18 08:34 | hgbot | Status | scheduled => resolved |
2018-04-18 08:34 | hgbot | Resolution | open => fixed |
2018-04-18 08:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c58ab4a99c008d431603286c16e3cbbfbac0fa33 [^] |
2018-05-04 14:41 | marvintm | Review Assigned To | => marvintm |
2018-05-04 14:41 | marvintm | Status | resolved => closed |
2018-05-04 14:41 | marvintm | Fixed in Version | => RR18Q3 |
Copyright © 2000 - 2009 MantisBT Group |