Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020304 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Z. Others | major | always | 2012-04-18 16:49 | 2012-04-21 14:24 | |||
Reporter | maite | View Status | public | |||||
Assigned To | dmiguelez | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | e54f824b9750 | |||
Projection | none | ETA | none | Target Version | 3.0MP11 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Advanced Payables and Receivables Mngmt | |||||||
Support ticket | 15054 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020304: FIN_PaymentMonitor process fails with invoice of zero amount and finallsettlement null | |||||||
Description | FIN_PaymentMonitor process fails with invoice of zero amount and finallsettlement null | |||||||
Steps To Reproduce | 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 Payment Monitor window and verify that execution finish with error | |||||||
Proposed Solution | Problem is in method "getDaysBetween" (line 151) , in FIN_PaymentMonitorProcess.java, as "finalSettlementDate" is null | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0047727) dmiguelez (viewer) 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 (viewer) 2012-04-19 18:49 |
verified |
(0047842) hudsonbot (viewer) 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 |
![]() |
|||
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 | OBNetwork customer | => Yes |
2012-04-18 16:49 | maite | Support ticket | => 15054 |
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 |