Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033332 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | minor | have not tried | 2016-06-22 16:12 | 2016-08-11 19:42 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | Triage Omni OMS | |||||||
Priority | normal | Resolution | no change required | Fixed in Version | ||||
Status | closed | 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 | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0033332: Missing DalUtil.getId triggering extra useless sql-select in FinUtility.getDocumentType | |||||||
Description | This line in above function: if ("0".equals(org.getId())) { Triggers ad_org select in database while not needing this. Using DalUtil.getId avoid that extra select. Found in stacktrace of some OrderLoader flow at org.openbravo.model.common.enterprise.Organization_$$_javassist_223.getId(Organization_$$_javassist_223.java) at org.openbravo.advpaymentmngt.utility.FIN_Utility.getDocumentType(FIN_Utility.java:282) at org.openbravo.retail.posterminal.OrderLoader.getPaymentDocumentType(OrderLoader.java:663) at org.openbravo.retail.posterminal.OrderLoader.processPayments(OrderLoader.java:1485) at org.openbravo.retail.posterminal.OrderLoader.handlePayments(OrderLoader.java:1317) at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:454) | |||||||
Steps To Reproduce | shu jmeter for highvol but | |||||||
Tags | Performance | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0089058) shuehner (administrator) 2016-08-11 19:42 |
Obsolete after fix of 33200 which removes all need of using DalUtil.getId https://issues.openbravo.com/view.php?id=33200 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2016-06-22 16:12 | shuehner | New Issue | |
2016-06-22 16:12 | shuehner | Assigned To | => Triage Finance |
2016-06-22 16:12 | shuehner | Modules | => Core |
2016-06-22 16:12 | shuehner | Triggers an Emergency Pack | => No |
2016-06-22 16:13 | shuehner | Tag Attached: Performance | |
2016-08-11 19:42 | shuehner | Note Added: 0089058 | |
2016-08-11 19:42 | shuehner | Status | new => closed |
2016-08-11 19:42 | shuehner | Resolution | open => no change required |
Copyright © 2000 - 2009 MantisBT Group |