Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0018362 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Z. Others | major | always | 2011-08-26 10:31 | 2011-08-31 17:20 | |||
Reporter | maite | View Status | public | |||||
Assigned To | mirurita | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 2a1d61ea3efc | ||||
Projection | none | ETA | none | Target Version | 3.0MP3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Advanced Payables and Receivables Mngmt | |||||||
Support ticket | 12427 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
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 Reproduce | 1. 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 Solution | Problem 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())) { | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 (viewer) 2011-08-31 11:57 |
verified |
(0040636) hudsonbot (viewer) 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 |
![]() |
|||
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 | OBNetwork customer | => Yes |
2011-08-26 10:31 | maite | Support ticket | => 12427 |
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 |