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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018362
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersmajoralways2011-08-26 10:312011-08-31 17:20
ReportermaiteView Statuspublic 
Assigned Tomirurita 
PriorityurgentResolutionfixedFixed in Version3.0MP3
StatusclosedFix in branchFixed in SCM revision2a1d61ea3efc
ProjectionnoneETAnoneTarget Version3.0MP3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018362: Error when posting transaction associated to a payment with line referencing GLItem

Description"Error during execution" when posting transaction associated to a payment with line referencing GLItem
Steps To Reproduce1. Define GLitem and configure accounting for it
2. Create Payment Out for any BP. Press Add Details and select your GLItem and any amount. Process and deposit
3. Go to Transactions tab and try to post associated transaction. Error will be raised due to NullPointerException
Proposed SolutionProblem is in file DocFINFinAccTransaction.java, line 472
if (!transaction.getForeignCurrency().equals(as.getC_Currency_ID())) {
throws NullPointerException error as transaction.getForeignCurrency() is null.
Comparison should be done as:
if (!as.getC_Currency_ID().equals(transaction.getForeignCurrency())) {
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0040580)
hgbot (developer)
2011-08-31 10:41

Repository: erp/devel/pi
Changeset: 2a1d61ea3efc16999a983a1a32f10c0595256740
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Wed Aug 31 10:34:18 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2a1d61ea3efc16999a983a1a32f10c0595256740 [^]

Fixed issue 18362.Prevent NPE error.

---
M src/org/openbravo/erpCommon/ad_forms/DocFINFinAccTransaction.java
---
(0040609)
maite (developer)
2011-08-31 11:57

verified
(0040636)
hudsonbot (developer)
2011-08-31 17:20

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

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-08-26 10:31 maite New Issue
2011-08-26 10:31 maite Assigned To => jonalegriaesarte
2011-08-26 10:31 maite Modules => Advanced Payables and Receivables Mngmt
2011-08-26 10:31 maite Issue Monitored: networkb
2011-08-26 10:34 maite Assigned To jonalegriaesarte => mirurita
2011-08-31 10:41 hgbot Checkin
2011-08-31 10:41 hgbot Note Added: 0040580
2011-08-31 10:41 hgbot Status new => resolved
2011-08-31 10:41 hgbot Resolution open => fixed
2011-08-31 10:41 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2a1d61ea3efc16999a983a1a32f10c0595256740 [^]
2011-08-31 11:57 maite Note Added: 0040609
2011-08-31 11:57 maite Status resolved => closed
2011-08-31 11:57 maite Fixed in Version => 3.0MP3
2011-08-31 17:20 hudsonbot Checkin
2011-08-31 17:20 hudsonbot Note Added: 0040636


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker