Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028230 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 04. Warehouse management | major | always | 2014-11-19 18:06 | 2014-12-30 23:27 | |||
Reporter | aferraz | View Status | public | |||||
Assigned To | Sandrahuguet | |||||||
Priority | high | Resolution | fixed | Fixed in Version | pi | |||
Status | closed | Fix in branch | Fixed in SCM revision | 5da17f50c4b0 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Professional Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | umartirena | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028230: [Costing] Null Pointer Exception is raised when trying to post a goods receipt | |||||||
Description | [Costing] Null Pointer Exception is raised when trying to post a goods receipt | |||||||
Steps To Reproduce | In QA Testing client, realize that "Spain" organization has no currency. Create a new product of type "Service" named "LC1000". Select a "Purchase" price list version and enter a unit/list price of 650.00. Add a "Standard" cost with starting date 19-11-2014, ending date 31-12-9999, cost 500, currency EUR, warehouse "Spain warehouse" and manual true. Go to goods receipt window and create a new one dated on 19-11-2014. Select the product "LC1000", quantity 7 and storage bin "L01". Complete the receipt. Go to process request window and launch costing background process. Go back to goods receipt window and post it. A "Null Pointer Exception" message is shown. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0072341) hgbot (developer) 2014-12-09 10:31 |
Repository: erp/devel/pi Changeset: 5da17f50c4b06113f285acdbaca01fd572c119fc Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Fri Dec 05 08:51:10 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/5da17f50c4b06113f285acdbaca01fd572c119fc [^] Fixes bug 28230 Null Pointer Exception is raised when trying to post a goods receipt When a goods receipt with a product of type Service, which has a cost of type Standard, is posted, the DocInOut class calls the getStandardCost method from CostingUtils class with the currency of the current organization. If the organization has no currency, the client's currency will be used. Otherwise, a null pointer exception will be raised. --- M src/org/openbravo/erpCommon/ad_forms/DocInOut.java M src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java --- |
(0072344) umartirena (viewer) 2014-12-09 11:48 |
Code Review + Testing OK |
(0073186) hudsonbot (viewer) 2014-12-30 23:27 |
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/6525fe229e06 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2014-11-19 18:06 | aferraz | New Issue | |
2014-11-19 18:06 | aferraz | Assigned To | => Sandrahuguet |
2014-11-19 18:06 | aferraz | File Added: Exception.png | |
2014-11-19 18:06 | aferraz | OBNetwork customer | => No |
2014-11-19 18:06 | aferraz | Modules | => Core |
2014-11-19 18:06 | aferraz | Triggers an Emergency Pack | => No |
2014-11-19 18:07 | aferraz | Summary | Null Pointer Exception is raised when trying to post a goods receipt => [Costing] Null Pointer Exception is raised when trying to post a goods receipt |
2014-11-19 18:07 | aferraz | Description Updated | View Revisions |
2014-11-20 11:10 | aferraz | Relationship added | related to 0028234 |
2014-12-09 10:31 | hgbot | Checkin | |
2014-12-09 10:31 | hgbot | Note Added: 0072341 | |
2014-12-09 10:31 | hgbot | Status | new => resolved |
2014-12-09 10:31 | hgbot | Resolution | open => fixed |
2014-12-09 10:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5da17f50c4b06113f285acdbaca01fd572c119fc [^] |
2014-12-09 10:54 | aferraz | Steps to Reproduce Updated | View Revisions |
2014-12-09 11:48 | umartirena | Review Assigned To | => umartirena |
2014-12-09 11:48 | umartirena | Note Added: 0072344 | |
2014-12-09 11:48 | umartirena | Status | resolved => closed |
2014-12-09 11:48 | umartirena | Fixed in Version | => pi |
2014-12-30 23:27 | hudsonbot | Checkin | |
2014-12-30 23:27 | hudsonbot | Note Added: 0073186 |
Copyright © 2000 - 2009 MantisBT Group |