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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029980
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementminorhave not tried2015-05-20 13:162015-05-26 11:55
ReporterinigosanchezView Statuspublic 
Assigned Toaferraz 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision6771c80a477f
ProjectionnoneETAnoneTarget Version3.0PR15Q2.2
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

0029980: 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
TagsApproved
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0029942 closedaferraz NPE Error raised when a "Recieved From" value is filled in Add Payment P&E window 

-  Notes
(0077749)
hgbot (developer)
2015-05-26 11:54

Repository: erp/backports/3.0PR15Q2.2
Changeset: 6771c80a477f7d7e0aa2e5bcac1f03707d126def
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed May 20 14:06:47 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q2.2/rev/6771c80a477f7d7e0aa2e5bcac1f03707d126def [^]

Fixes issue 29980: 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
---
(0077751)
vmromanos (manager)
2015-05-26 11:55

Code review + testing OK

- Issue History
Date Modified Username Field Change
2015-05-22 12:32 aferraz Type defect => backport
2015-05-22 12:32 aferraz Target Version => 3.0PR15Q2.2
2015-05-22 12:32 aferraz Tag Attached: Approved
2015-05-26 11:54 hgbot Checkin
2015-05-26 11:54 hgbot Note Added: 0077749
2015-05-26 11:54 hgbot Status scheduled => resolved
2015-05-26 11:54 hgbot Resolution open => fixed
2015-05-26 11:54 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q2.2/rev/6771c80a477f7d7e0aa2e5bcac1f03707d126def [^]
2015-05-26 11:55 vmromanos Review Assigned To => vmromanos
2015-05-26 11:55 vmromanos Note Added: 0077751
2015-05-26 11:55 vmromanos Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker