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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020326
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersmajoralways2012-04-23 12:252012-04-26 19:31
ReportermaiteView Statuspublic 
Assigned ToioritzCia 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision84f458364b70
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesPayment Report
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020326: Null Pointer Exception error when executing report "Include Empty Business Partner" and there is a transaction without payment

DescriptionNull Pointer Exception error when executing report "Include Empty Business Partner" and there is a transaction without payment
Steps To Reproduce1. Go to "Banco de España - Cuenta 1" Financial Account and "Add Transaction" associated to GLItem for any IN amount.
2. Go to Payment In window and create new record for "España" organization. Leave Business Partner empty. Deposit to "EUR - Banco de España - Cuenta 1" and select any Payment Method. Amount=100.
3. Press Add Details and select any GLItem with IN amount=100. Process.
4. Go to Payment Report and execute report for:
- "España" organization
- Empty business partner="Include Empty Business Partner"
- Ordering Criteria= Date

You will receive NullPointerException error.

Realize that if you change option "Empty business partner" to "Exclude Empty Business Partner" you will obtain data
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0047886)
hgbot (developer)
2012-04-23 17:53

Repository: erp/devel/pi
Changeset: 84f458364b70e35c78316aef330908393aabbb29
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Mon Apr 23 17:44:56 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/84f458364b70e35c78316aef330908393aabbb29 [^]

Fixes issue 20326: Null Pointer Exception error.
Null Pointer Exception when executing report 'Include Empty Business Partner' and there is a transaction without payment.

---
M modules/org.openbravo.financial.paymentreport/src/org/openbravo/financial/paymentreport/erpCommon/ad_reports/PaymentReportDao.java
---
(0047888)
ioritzCia (developer)
2012-04-23 17:56

Testing plan:

The error was due to the date ordering criteria. In some specific cases. Follow the steps to reproduce and play with the ordering criteria field. Compare with live for example to check that the report continues to order correctly.
(0047906)
ioritzCia (developer)
2012-04-24 12:19

Related to changeset: 5d79b4ec08f5
(0047952)
maite (developer)
2012-04-25 10:47

verified
(0048071)
hudsonbot (developer)
2012-04-26 19:31

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/70a717a9ffa1 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-04-23 12:25 maite New Issue
2012-04-23 12:25 maite Assigned To => vmromanos
2012-04-23 12:25 maite Modules => Payment Report
2012-04-23 12:33 maite Assigned To vmromanos => ioritzCia
2012-04-23 12:33 maite Priority urgent => immediate
2012-04-23 17:53 hgbot Checkin
2012-04-23 17:53 hgbot Note Added: 0047886
2012-04-23 17:53 hgbot Status new => resolved
2012-04-23 17:53 hgbot Resolution open => fixed
2012-04-23 17:53 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/84f458364b70e35c78316aef330908393aabbb29 [^]
2012-04-23 17:56 ioritzCia Note Added: 0047888
2012-04-24 12:19 ioritzCia Note Added: 0047906
2012-04-25 10:47 maite Note Added: 0047952
2012-04-25 10:47 maite Status resolved => closed
2012-04-26 19:31 hudsonbot Checkin
2012-04-26 19:31 hudsonbot Note Added: 0048071


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker