Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0033182 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| defect | [Openbravo ERP] 04. Warehouse management | minor | have not tried | 2016-06-07 18:41 | 2016-06-07 18:41 | |||||||
| Reporter | shuehner | View Status | public | |||||||||
| Assigned To | Triage Omni WMS | |||||||||||
| Priority | normal | Resolution | open | Fixed in Version | ||||||||
| Status | new | Fix in branch | Fixed in SCM revision | |||||||||
| 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 | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Web browser | ||||||||||||
| Modules | Core | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0033182: StockUtils.getStock functions forces flush on all users even if that is not wanted | |||||||||||
| Description | The 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 | - | |||||||||||
| Tags | Performance | |||||||||||
| Attached Files | ||||||||||||
		  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] 
			 | 
|||||||||
  | 
|||||||||
  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 | OBNetwork customer | => No | 
| 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 |