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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033182
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementminorhave not tried2016-06-07 18:412016-06-07 18:41
ReportershuehnerView Statuspublic 
Assigned ToTriage Omni WMS 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033182: StockUtils.getStock functions forces flush on all users even if that is not wanted

DescriptionThe implementation of that function forces a flush to happen (even requesting 2 flushes). (indirectly via the 2 'true' in getConnection and New DalConnectionProvider)

For any user of the function must take that performance hit even it not required in a specific flow.
I.e. POS Orderloader needs a single flush before is 'various' getStock calls but currently one happens per call (inside getStock).

As that function is part of API a new method needs to be added for that.

I.e. a getStockNoFlush to make explicit to the caller that no flush is automatically done and inside flip both boolean's to false.
Steps To Reproduce-
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0033181 newRetail Retail Modules Most OrderLoader insert flush() 'ed' during call to getStock which is non-obvious and breaks debug timing 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2016-06-07 18:41 shuehner New Issue
2016-06-07 18:41 shuehner Assigned To => Triage Finance
2016-06-07 18:41 shuehner Modules => Core
2016-06-07 18:41 shuehner Triggers an Emergency Pack => No
2016-06-07 18:41 shuehner Tag Attached: Performance
2016-06-07 18:41 shuehner Relationship added related to 0033181


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker