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

View Revisions: Issue #34965 Back to Issue ]
Summary 0034965: OB-Dal query caching is not properly handled in some external modules
Revision 2017-01-16 12:42 by marvintm
Description Several external modules use the findUsingCache functionality, which allows to cache results of frequently used queries to improve performance.

However, they are using this feature improperly, because they are not specifying the "modelsAffectedByCache" property. This means that the cache is not cleared if incremental masterdata is executed, which may lead to wrong behavior. This property should therefore be added to those findUsingCache calls.


The affected modules are:
- org.openbravo.retail.activediscountspopup. File: active-discounts-hook.js
- org.openbravo.retail.discount.twofamiliescombo. File: twofamilies-rule-impl.js
- org.openbravo.retail.discounts.combo: File: combo-rule-impl.js
- org.openbravo.retail.discounts.scaledprice. File: scaledprice.js
Revision 2017-01-16 12:40 by marvintm
Description Several external modules use the findUsingCache functionality, which allows to cache results of frequently used queries to improve performance.

However, they are using this feature improperly, because they are not specifying the "modelsAffectedByCache" property. This means that the cache is not cleared if incremental masterdata is executed, which may lead to wrong behavior. This property should therefore be added to those findUsingCache calls.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker