Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0030954 | Openbravo ERP | 09. Financial management | public | 2015-09-29 10:34 | 2017-05-16 11:34 |
|
Reporter | aferraz | |
Assigned To | aferraz | |
Priority | low | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | Professional Appliance |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR16Q1 | |
Merge Request Status | |
Review Assigned To | vmromanos |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0030954: NPE in Payment In/Out when selecting a BP with no default payment method or financial account |
Description | When selecting a Business Partner in Payment In or Payment Out window without a defualt Payment Method or a default Financial Account, a NPE is raised in SE_Payment_BPartner.java callout. |
Steps To Reproduce | Go to Business Partner window and select "Alimentos y Supermercados, S.A"
Move to Customer tab and leave Payment Method and Financial Account empty.
Go to Payment In, and create a new header.
Select "Alimentos y Supermercados, S.A" as Received From
Realize a NPE is raised in the log.
The same happens in Payment Out window. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0029368 | | closed | jorge-garcia | It is possible to create a payment header when a payment method is disabled in a given financial account | related to | defect | 0040465 | | closed | AtulOpenbravo | NPE is thrown in SE_Payment_BPartner callout |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-09-29 10:34 | aferraz | New Issue | |
2015-09-29 10:34 | aferraz | Assigned To | => aferraz |
2015-09-29 10:34 | aferraz | Modules | => Core |
2015-09-29 10:34 | aferraz | Triggers an Emergency Pack | => No |
2015-09-29 10:41 | aferraz | Relationship added | related to 0029368 |
2015-10-05 15:03 | psanjuan | Note Added: 0080825 | |
2015-10-06 12:03 | psanjuan | Note Edited: 0080825 | bug_revision_view_page.php?bugnote_id=0080825#r9617 |
2015-10-06 12:03 | psanjuan | Note Added: 0080841 | |
2015-12-15 18:12 | vmromanos | Status | new => scheduled |
2015-12-15 18:25 | hgbot | Checkin | |
2015-12-15 18:25 | hgbot | Note Added: 0082780 | |
2015-12-15 18:25 | hgbot | Status | scheduled => resolved |
2015-12-15 18:25 | hgbot | Resolution | open => fixed |
2015-12-15 18:25 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e7bf20e738da0845ea7aed3fa64e2c495a3b9320 [^] |
2015-12-15 18:25 | vmromanos | Review Assigned To | => vmromanos |
2015-12-15 18:25 | vmromanos | Note Added: 0082781 | |
2015-12-15 18:25 | vmromanos | Status | resolved => closed |
2015-12-17 17:49 | hudsonbot | Checkin | |
2015-12-17 17:49 | hudsonbot | Note Added: 0082843 | |
2017-05-16 11:34 | aferraz | Fixed in Version | => 3.0PR16Q1 |
2019-03-27 11:25 | caristu | Relationship added | related to 0040465 |
Notes |
|
(0080825)
|
psanjuan
|
2015-10-05 15:03
(edited on: 2015-10-06 12:03) |
|
Test Plan
Do not apply the patch
Go to Business Partner window and select "Alimentos y Supermercados, S.A"
Move to Customer tab and leave Payment Method and Financial Account empty.
Go to Payment In, and create a new header.
Select "Alimentos y Supermercados, S.A" as Received From
Realize a NPE is raised in the log (Eclipse, if configured as log4j.category.reloadXml=DEBUG)
ERROR org.openbravo.erpCommon.ad_callouts.SE_Payment_BPartner - Error captured:
java.lang.NullPointerException
Apply the patch.
Follow the same steps and verify that the NPE is not shown but this message:
INFO org.openbravo.erpCommon.ad_callouts.SE_Payment_BPartner - No default info for the selected business partner
|
|
|
|
Test Plan above verified. |
|
|
(0082780)
|
hgbot
|
2015-12-15 18:25
|
|
Repository: erp/devel/pi
Changeset: e7bf20e738da0845ea7aed3fa64e2c495a3b9320
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Tue Sep 29 12:00:47 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e7bf20e738da0845ea7aed3fa64e2c495a3b9320 [^]
Fixes issue 30954: NPE in SE_Payment_BPartner callout
A NPE was raised in SE_Payment_BPartner callout, when selecting a business partner in Payment In or Payment Out window with no default payment method or financial account.
---
M src/org/openbravo/erpCommon/ad_callouts/SE_Payment_BPartner.java
---
|
|
|
|
|
|
|
|