Openbravo Issue Tracking System - Openbravo ERP  | |||||||||||||
| View Issue Details | |||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0033182 | Openbravo ERP | 04. Warehouse management | public | 2016-06-07 18:41 | 2016-06-07 18:41 | ||||||||
| Reporter | shuehner | ||||||||||||
| Assigned To | Triage Omni WMS | ||||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||
| Status | new | Resolution | open | ||||||||||
| Platform | OS | 5 | OS Version | ||||||||||
| Product Version | |||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| 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 | - | ||||||||||||
| Proposed Solution | |||||||||||||
| Additional Information | |||||||||||||
| Tags | Performance | ||||||||||||
| Relationships | 
  | ||||||||||||
| Attached Files | |||||||||||||
| 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 | ||||||||||
| There are no notes attached to this issue. |