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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011612
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminorhave not tried2009-12-02 14:372009-12-11 00:00
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisione774060cb37f
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011612: Some code-cleanup and simpler/safer HQL to the new payment monitor

Descriptionsome one cleanup should be done to make the code simpler more readable and some hql queries should be written to properly escape user parameters.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0011611 closedshuehner Add convenience method to OBQuery to more easily set a single named parameter 

-  Notes
(0022365)
hgbot (developer)
2009-12-02 14:40

Repository: erp/devel/pi
Changeset: e774060cb37fac4c1bf2a56ca6fc221c05ae108f
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Wed Dec 02 14:40:07 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e774060cb37fac4c1bf2a56ca6fc221c05ae108f [^]

Fixed 11612: Code-cleanup for PaymentMonitor
- no isDebugEnabled needed in non-critical code-path
- use OBDal.get for reading record by pl
- printStackTrace -> log4j.error(String, Throwable)
- no new String("string-constant")
- StringBuilder -> String where possible
- use HQL namedParameters for user input

---
M src/org/openbravo/erpCommon/ad_actionButton/InvoicePaymentMonitor.java
M src/org/openbravo/erpCommon/ad_process/PaymentMonitor.java
M src/org/openbravo/erpCommon/ad_process/PaymentMonitorProcess.java
---
(0022445)
hudsonbot (viewer)
2009-12-04 09:15

---
A changeset related to this issue has passed a series of tests and has been promoted to main:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f6bc559b1872 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
---

- Issue History
Date Modified Username Field Change
2009-12-02 14:37 shuehner New Issue
2009-12-02 14:37 shuehner Assigned To => shuehner
2009-12-02 14:37 shuehner OBNetwork customer => No
2009-12-02 14:37 shuehner Relationship added related to 0011611
2009-12-02 14:40 hgbot Checkin
2009-12-02 14:40 hgbot Note Added: 0022365
2009-12-02 14:40 hgbot Status new => resolved
2009-12-02 14:40 hgbot Resolution open => fixed
2009-12-02 14:40 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e774060cb37fac4c1bf2a56ca6fc221c05ae108f [^]
2009-12-04 09:15 hudsonbot Checkin
2009-12-04 09:15 hudsonbot Note Added: 0022445
2009-12-10 17:51 marvintm Status resolved => closed
2009-12-11 00:00 anonymous sf_bug_id 0 => 2912323


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker