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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028814
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2015-01-29 16:572015-02-06 10:33
ReporterpsanjuanView Statuspublic 
Assigned Toumartirena 
PriorityurgentResolutionfixedFixed in Version3.0PR15Q2
StatusclosedFix in branchFixed in SCM revisioncba032bafcb0
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11.1.0.6.0Ant version1.7.0
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028814: Null pointer exception in case of a backdated transaction created for a "production" product type.

DescriptionNull pointer exception in case of a backdated transaction created for a "production" product type.
Steps To ReproduceCreate 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.

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (manager)
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 (developer)
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 (developer)
2015-02-06 10:33

Code review done

- Issue History
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 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
Powered by Mantis Bugtracker