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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020511
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2012-05-15 15:182012-05-25 12:12
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision10639f3fc934
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

0020511: Unnecessary flush on CallProcess

DescriptionCallProcess is used to invoke PL processes using DAL. It performs an explicit flush to ensure current DAL transaction is in DB to be processed by PL. But the connection obtained for calling the process implicitly does an extra flush. This affects performance without any benefit.
Steps To ReproduceComplete an invoice from UI and check 2 flushes are performed.
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0048649)
alostale (manager)
2012-05-15 15:20

This fix is not risky as removes a flush done immediately after another one.
(0048650)
hgbot (developer)
2012-05-15 15:22

Repository: erp/devel/pi
Changeset: 10639f3fc93441a19189faffba04504ffcb84ab6
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue May 15 15:22:24 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/10639f3fc93441a19189faffba04504ffcb84ab6 [^]

fixed bug 20511: Unnecessary flush on CallProcess

---
M src/org/openbravo/service/db/CallProcess.java
---
(0048797)
migueldejuana (developer)
2012-05-21 12:10

Code reviewed and verified on pi@87340d8f38a3
(0049131)
hudsonbot (developer)
2012-05-25 12:12

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/5401e185a8b0 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-05-15 15:18 alostale New Issue
2012-05-15 15:18 alostale Assigned To => alostale
2012-05-15 15:18 alostale Modules => Core
2012-05-15 15:18 alostale Tag Attached: Performance
2012-05-15 15:20 alostale Note Added: 0048649
2012-05-15 15:22 hgbot Checkin
2012-05-15 15:22 hgbot Note Added: 0048650
2012-05-15 15:22 hgbot Status new => resolved
2012-05-15 15:22 hgbot Resolution open => fixed
2012-05-15 15:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/10639f3fc93441a19189faffba04504ffcb84ab6 [^]
2012-05-21 12:10 migueldejuana Note Added: 0048797
2012-05-21 12:10 migueldejuana Status resolved => closed
2012-05-21 12:10 migueldejuana Fixed in Version => pi
2012-05-25 12:12 hudsonbot Checkin
2012-05-25 12:12 hudsonbot Note Added: 0049131


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker