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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038384
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2018-04-17 09:012018-05-04 14:41
Reporterjorge-garciaView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR18Q3
StatusclosedFix in branchFixed in SCM revisionc58ab4a99c00
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

0038384: OB.Dal.queryUsingCache is not working if pass params parameter

DescriptionOB.Dal.queryUsingCache is not working if pass params parameter
Steps To ReproduceOpen 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0038372 closedjorge-garcia In Discount By Payment Method, "Validate Date To" property is not working 

-  Notes
(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
---

- Issue History
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 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
Powered by Mantis Bugtracker