Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028814 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 04. Warehouse management | major | always | 2015-01-29 16:57 | 2015-02-06 10:33 | |||
Reporter | psanjuan | View Status | public | |||||
Assigned To | umartirena | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR15Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | cba032bafcb0 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | Oracle | Java version | 1.6 | |||
OS Version | Ubuntu 8.04.1 | Database version | 11.1.0.6.0 | Ant version | 1.7.0 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | Sandrahuguet | |||||||
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 | 0028814: Null pointer exception in case of a backdated transaction created for a "production" product type. | |||||||
Description | Null pointer exception in case of a backdated transaction created for a "production" product type. | |||||||
Steps To Reproduce | Create a product set as "Production". (For doing so, your instance should have been activated, therefore Production related application areas are shown) Enter a cost in the costing tab, for a given organization Create a shipment dated on 25/01/2014. Complete and post. Create a receipt dated on 15/01/2015 (backdated transaction) Complete the receipt. Run costing background process. The error is shown. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0073920) hgbot (developer) 2015-01-29 19:05 |
Repository: erp/devel/pi Changeset: cba032bafcb0a918c1cff764b26d05f9c5c1ce11 Author: Unai Martirena <unai.martirena <at> openbravo.com> Date: Thu Jan 29 19:04:28 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/cba032bafcb0a918c1cff764b26d05f9c5c1ce11 [^] Fixes bug 28814: NPE fixed in Costing Background for a production product When a product is defined as production the costing records created in the system are always for * organization. If a transaction of this product it was creating a backdated cost adjustment, in one place of the code a NPE exception error was happening because a costing record of legal entity org it was being trying to get. This has been fixed always filtering by client instead of organization when the product is of production type. --- M src/org/openbravo/costing/AverageCostAdjustment.java --- |
(0074086) psanjuan (viewer) 2015-02-04 13:58 edited on: 2015-02-04 14:31 |
Verified. No error is shown now and the adjustments are correct. |
(0074199) hudsonbot (viewer) 2015-02-04 20:34 |
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/f36c91d0ad63 [^] Maturity status: Test |
(0074242) Sandrahuguet (viewer) 2015-02-06 10:33 |
Code review done |
![]() |
|||
Date Modified | Username | Field | Change |
2015-01-29 16:57 | psanjuan | New Issue | |
2015-01-29 16:57 | psanjuan | Assigned To | => dmiguelez |
2015-01-29 16:57 | psanjuan | OBNetwork customer | => No |
2015-01-29 16:57 | psanjuan | Modules | => Core |
2015-01-29 16:57 | psanjuan | Triggers an Emergency Pack | => No |
2015-01-29 19:05 | hgbot | Checkin | |
2015-01-29 19:05 | hgbot | Note Added: 0073920 | |
2015-01-29 19:05 | hgbot | Status | new => resolved |
2015-01-29 19:05 | hgbot | Resolution | open => fixed |
2015-01-29 19:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/cba032bafcb0a918c1cff764b26d05f9c5c1ce11 [^] |
2015-02-04 13:47 | psanjuan | Assigned To | dmiguelez => umartirena |
2015-02-04 13:47 | psanjuan | Steps to Reproduce Updated | View Revisions |
2015-02-04 13:58 | psanjuan | Note Added: 0074086 | |
2015-02-04 14:31 | psanjuan | Note Edited: 0074086 | View Revisions |
2015-02-04 20:34 | hudsonbot | Checkin | |
2015-02-04 20:34 | hudsonbot | Note Added: 0074199 | |
2015-02-06 10:33 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2015-02-06 10:33 | Sandrahuguet | Note Added: 0074242 | |
2015-02-06 10:33 | Sandrahuguet | Status | resolved => closed |
2015-02-06 10:33 | Sandrahuguet | Fixed in Version | => 3.0PR15Q2 |
Copyright © 2000 - 2009 MantisBT Group |