Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020326 | Openbravo ERP | Z. Others | public | 2012-04-23 12:25 | 2012-04-26 19:31 |
|
Reporter | maite | |
Assigned To | ioritzCia | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | OBPS |
Web browser | |
Modules | Payment Report |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0020326: Null Pointer Exception error when executing report "Include Empty Business Partner" and there is a transaction without payment |
Description | Null Pointer Exception error when executing report "Include Empty Business Partner" and there is a transaction without payment |
Steps To Reproduce | 1. 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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
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:25 | maite | OBNetwork customer | => Yes |
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 | |
Notes |
|
(0047886)
|
hgbot
|
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
---
|
|
|
|
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. |
|
|
|
Related to changeset: 5d79b4ec08f5 |
|
|
(0047952)
|
maite
|
2012-04-25 10:47
|
|
|
|
|
|