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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020304
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersmajoralways2012-04-18 16:492012-04-21 14:24
ReportermaiteView Statuspublic 
Assigned Todmiguelez 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisione54f824b9750
ProjectionnoneETAnoneTarget Version3.0MP11
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020304: FIN_PaymentMonitor process fails with invoice of zero amount and finallsettlement null

DescriptionFIN_PaymentMonitor process fails with invoice of zero amount and finallsettlement null
Steps To Reproduce1, create invoice for any BP and any product. Invoice total=zero. Process
2. schedule FIN_PaymentMonitor background process to be executed immediately
3. Go to Payment Monitor window and verify that execution finish with error
Proposed SolutionProblem is in method "getDaysBetween" (line 151) , in FIN_PaymentMonitorProcess.java, as "finalSettlementDate" is null
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0047727)
dmiguelez (developer)
2012-04-19 09:32
edited on: 2012-04-19 09:35

Test plan:

Login as Openbravo/openbravo

1, create invoice for any BP and any product. Invoice total=zero. Process
2. schedule FIN_PaymentMonitor background process to be executed immediately
3. Go to Process Monitor window and verify that execution finish succesfully

(0047744)
hgbot (developer)
2012-04-19 12:36

Repository: erp/devel/pi
Changeset: e54f824b9750726b64118e5af0140a24a47a0cbb
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Apr 19 12:34:32 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e54f824b9750726b64118e5af0140a24a47a0cbb [^]

Fixes issue 0020304: Prevents Null Pointer Exception and also
prevents division by zero.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentMonitorProcess.java
---
(0047763)
maite (developer)
2012-04-19 18:49

verified
(0047842)
hudsonbot (developer)
2012-04-21 14:24

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/2eb57286c1fc [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-04-18 16:49 maite New Issue
2012-04-18 16:49 maite Assigned To => vmromanos
2012-04-18 16:49 maite Modules => Advanced Payables and Receivables Mngmt
2012-04-18 16:49 maite Issue Monitored: networkb
2012-04-18 16:52 dmiguelez Assigned To vmromanos => dmiguelez
2012-04-18 16:52 dmiguelez Status new => scheduled
2012-04-18 16:52 dmiguelez fix_in_branch => pi
2012-04-19 09:32 dmiguelez Note Added: 0047727
2012-04-19 09:35 dmiguelez Note Edited: 0047727 View Revisions
2012-04-19 12:36 hgbot Checkin
2012-04-19 12:36 hgbot Note Added: 0047744
2012-04-19 12:36 hgbot Status scheduled => resolved
2012-04-19 12:36 hgbot Resolution open => fixed
2012-04-19 12:36 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e54f824b9750726b64118e5af0140a24a47a0cbb [^]
2012-04-19 18:49 maite Note Added: 0047763
2012-04-19 18:49 maite Status resolved => closed
2012-04-21 14:24 hudsonbot Checkin
2012-04-21 14:24 hudsonbot Note Added: 0047842


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker