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

View Revisions: Issue #38384 All Revisions ] Back to Issue ]
Summary 0038384: OB.Dal.queryUsingCache is not working if pass params parameter
Revision 2018-04-17 10:28 by jorge-garcia
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
Revision 2018-04-17 09:01 by jorge-garcia
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, results from callback has one product
Execute again:
  OB.Dal.queryUsingCache(OB.Model.Product, sql, ['934E7D7587EC4C7A9E9FF58F0382D450'], function(result){debugger;}, null, null);

In the second execution, results is undefined


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker