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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029942
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminorhave not tried2015-05-20 13:162016-02-02 09:35
ReporterinigosanchezView Statuspublic 
Assigned Toaferraz 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisione58f5e3d1259
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tovmromanos
Web browser
ModulesCore
Regression levelProduction - Confirmed Stable
Regression date2014-09-23
Regression introduced in release3.0PR14Q4
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/179d97ee602d [^]
Triggers an Emergency PackNo
Summary

0029942: NPE Error raised when a "Recieved From" value is filled in Add Payment P&E window

DescriptionNPE Error raised when a "Recieved From" value is filled in Add Payment P&E window.This happens when is not exists a payment method.
Steps To Reproduce- As group admin go to [Financial Account] window. Select "Cuenta de Banco".
- Add new Transaction and press "+" selector to open "Add Payment" P&E Window.
- In "Received From" field press in the magnifying glass.
- Select "Sl Rapid, SA" and press OK.

NPE Error is thrown in a popup: org.openbravo.base.exception.OBException: java.lang.NullPointerException
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00299803.0PR15Q2.2 closedaferraz NPE Error raised when a "Recieved From" value is filled in Add Payment P&E window 
depends on backport 00299813.0PR15Q1.5 closedaferraz NPE Error raised when a "Recieved From" value is filled in Add Payment P&E window 
caused by feature request 0029387 closedSandrahuguet Transaction refactor project 

-  Notes
(0077750)
hgbot (developer)
2015-05-26 11:55

Repository: erp/devel/pi
Changeset: e58f5e3d1259e6a91ea79e4d89c33327b22193e4
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed May 20 14:06:47 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e58f5e3d1259e6a91ea79e4d89c33327b22193e4 [^]

Fixes issue 29942: NPE in Add Payment process request

When selecting a business partner with the magnifying glass in Add Payment process request, which does not match to the type of the document (a Vendor when the type is Received In); the payment method of the business partner was null and when accessing to its id, a NPE was raised.
Now, if payment method is null will be checked.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/ReceivedFromPaymentMethodActionHandler.java
---
(0077753)
vmromanos (manager)
2015-05-26 11:55

Code review + testing OK
(0077779)
hudsonbot (developer)
2015-05-27 00:39

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/2ac0a8fe23d2 [^]
Maturity status: Test
(0083812)
hgbot (developer)
2016-02-02 09:35

Repository: tools/automation/int
Changeset: 3441e287dc6493eccf4e4c3e02877c281ba7889a
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri Sep 25 11:33:45 2015 +0200
URL: http://code.openbravo.com/tools/automation/int/rev/3441e287dc6493eccf4e4c3e02877c281ba7889a [^]

Related to issue 30641, Related to issue 29942: Added some automated tests

---
M src-test/com/openbravo/test/integration/erp/gui/financial/receivablespayables/transactions/AddPaymentProcess.java
M src-test/com/openbravo/test/integration/erp/gui/financial/receivablespayables/transactions/financialaccount/TransactionTab.java
M src-test/com/openbravo/test/integration/erp/gui/masterdata/businesspartner/BusinessPartnerTab.java
M src-test/com/openbravo/test/integration/erp/gui/masterdata/businesspartner/BusinessPartnerWindow.java
M src-test/com/openbravo/test/integration/erp/gui/masterdata/businesspartner/classic/BusinessPartnerTab.java
M src-test/com/openbravo/test/integration/erp/gui/masterdata/businesspartner/classic/BusinessPartnerWindow.java
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/RegressionSuite.java
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/build.xml
M src-test/com/openbravo/test/integration/erp/testscripts/financial/receivablespayables/transactions/FinancialAccount.java
M src-test/com/openbravo/test/integration/erp/testscripts/masterdata/businesspartner/BusinessPartner.java
M src-test/com/openbravo/test/integration/erp/testscripts/masterdata/businesspartner/BusinessPartnerScript.java
A src-test/com/openbravo/test/integration/erp/gui/masterdata/businesspartner/VendorCreditorTab.java
A src-test/com/openbravo/test/integration/erp/gui/masterdata/businesspartner/classic/VendorCreditorTab.java
A src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/APRRegression30641In29942In.java
A src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/APRRegression30641Out29942Out.java
A src-test/com/openbravo/test/integration/erp/testscripts/masterdata/businesspartner/VendorCreditorClassicScript.java
A src-test/com/openbravo/test/integration/erp/testscripts/masterdata/businesspartner/VendorCreditorScript.java
---

- Issue History
Date Modified Username Field Change
2015-05-20 13:16 inigosanchez New Issue
2015-05-20 13:16 inigosanchez Assigned To => Triage Finance
2015-05-20 13:16 inigosanchez Modules => Core
2015-05-20 13:16 inigosanchez Triggers an Emergency Pack => No
2015-05-20 13:56 aferraz Assigned To Triage Finance => aferraz
2015-05-20 14:00 aferraz Relationship added caused by 0029387
2015-05-20 14:01 aferraz Regression level => Production - Confirmed Stable
2015-05-20 14:01 aferraz Regression date => 2014-08-21
2015-05-20 14:01 aferraz Regression introduced in release => 3.0PR14Q4
2015-05-20 14:01 aferraz Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/8a0d6c8c1eb1 [^]
2015-05-20 14:02 aferraz Priority low => immediate
2015-05-20 16:17 aferraz Regression date 2014-08-21 => 2014-09-23
2015-05-20 16:17 aferraz Regression introduced by commit https://code.openbravo.com/erp/devel/pi/rev/8a0d6c8c1eb1 [^] => https://code.openbravo.com/erp/devel/pi/rev/179d97ee602d [^]
2015-05-22 12:32 aferraz Status new => scheduled
2015-05-26 11:55 hgbot Checkin
2015-05-26 11:55 hgbot Note Added: 0077750
2015-05-26 11:55 hgbot Status scheduled => resolved
2015-05-26 11:55 hgbot Resolution open => fixed
2015-05-26 11:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e58f5e3d1259e6a91ea79e4d89c33327b22193e4 [^]
2015-05-26 11:55 vmromanos Review Assigned To => vmromanos
2015-05-26 11:55 vmromanos Note Added: 0077753
2015-05-26 11:55 vmromanos Status resolved => closed
2015-05-27 00:39 hudsonbot Checkin
2015-05-27 00:39 hudsonbot Note Added: 0077779
2016-02-02 09:35 hgbot Checkin
2016-02-02 09:35 hgbot Note Added: 0083812


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker