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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028841
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 05. Production managementmajoralways2015-02-03 10:152015-02-04 20:35
ReportermaiteView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityimmediateResolutionfixedFixed in Version3.0PR15Q2
StatusclosedFix in branchFixed in SCM revisionb1889299d7a6
ProjectionnoneETAnoneTarget Version3.0PR15Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Web browser
ModulesCore
Regression levelProduction - Confirmed Stable
Regression date2014-06-18
Regression introduced in release3.0PR14Q3
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/3d6754bc564f15ee427e82a3975d23eca890b2a1 [^]
Triggers an Emergency PackNo
Summary

0028841: NullPointerException error when posting a work effort

DescriptionNullPointerException error when posting a work effort
Steps To Reproduce1. Create two products set as Production: one to be produced and one to be consumed
2. Set the consumed one as Not Stocked
3. Add a standard cost to it
4. Add a storage bin to the consumed one in Manufacturing tab
5. Create a Manufacturing Cost Center and version
6. Create an Activity and assign the previous cost center
7. Create a Process Plan, Version and Operation
8. Add the previous created Activity to the Operation and set Create Standards to 'Y'
9. Set the previously created products in the I/O Products tab of the Process Plan
10. Create a Work Requirement and assign the previously created Process Plan
11. Process it
12. Create a Work Effort from it
13. Go to the Work Effort window and Validate it
14. Launch the costing background process
15. Try to post the work effort and check you will get the following message:
   "Process failed during execution"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 00261993.0PR14Q3 closedAtulOpenbravo when trying to post a Work Effort with total cost = 0, the Post status should be "Disabled for Accounting" 

-  Notes
(0074036)
hgbot (developer)
2015-02-03 16:31

Repository: erp/devel/pi
Changeset: b1889299d7a667df851bd6a7e0c9a29d292537c2
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Feb 03 15:57:48 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/b1889299d7a667df851bd6a7e0c9a29d292537c2 [^]

Fixes Issue 28841:NullPointerException error when posting a work effort

Work effort lines with products having setting stocked=No does not
have records in m_ transaction. They should be skipped.

---
M src/org/openbravo/erpCommon/ad_forms/DocProduction.java
---
(0074037)
Sandrahuguet (developer)
2015-02-03 16:38

Code review + testing OK
(0074064)
AtulOpenbravo (developer)
2015-02-04 04:12

Test Plan
01. Create two products.
   -Product A Consumed, Stocked = No, Production = Yes
   -Product B Produced, Stocked = Yes, Production = Yes
02. Under Costing tab, add a standard cost to it.
03. Add a storage bin to the Product A Consumed in Manufacturing tab
04. Create a Manufacturing Cost Center and create a version.
05. Create an Activity and assign the previous cost center to it.
06. Create a Process Plan, Version and Operation.
07. Add the previous created Activity to the Operation and set Create Standards to 'Y'.
08. Set the previously created products in the I/O Products tab of the Process Plan.
09. Create a Work Requirement and assign the previously created Process Plan and Process it.
10. Create a Work Effort from it.
11. Go to the Work Effort window, choose the record created and Validate it
12. Launch the costing background process.
13. Check that Posting of Work Effort record will be done successfully.
(0074213)
hudsonbot (developer)
2015-02-04 20:35

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

- Issue History
Date Modified Username Field Change
2015-02-03 10:15 maite New Issue
2015-02-03 10:15 maite Assigned To => dmiguelez
2015-02-03 10:15 maite Modules => Core
2015-02-03 10:15 maite Regression level => Production - Confirmed Stable
2015-02-03 10:15 maite Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/3d6754bc564f15ee427e82a3975d23eca890b2a1 [^]
2015-02-03 10:15 maite Triggers an Emergency Pack => No
2015-02-03 10:15 maite Issue Monitored: networkb
2015-02-03 10:18 Sandrahuguet Assigned To dmiguelez => AtulOpenbravo
2015-02-03 11:04 AtulOpenbravo Status new => scheduled
2015-02-03 11:04 AtulOpenbravo fix_in_branch => pi
2015-02-03 13:26 Sandrahuguet Regression date => 2014-06-18
2015-02-03 13:26 Sandrahuguet Regression introduced in release => 3.0PR14Q3
2015-02-03 13:26 Sandrahuguet fix_in_branch pi =>
2015-02-03 16:31 hgbot Checkin
2015-02-03 16:31 hgbot Note Added: 0074036
2015-02-03 16:31 hgbot Status scheduled => resolved
2015-02-03 16:31 hgbot Resolution open => fixed
2015-02-03 16:31 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b1889299d7a667df851bd6a7e0c9a29d292537c2 [^]
2015-02-03 16:38 Sandrahuguet Review Assigned To => Sandrahuguet
2015-02-03 16:38 Sandrahuguet Note Added: 0074037
2015-02-03 16:38 Sandrahuguet Status resolved => closed
2015-02-03 16:38 Sandrahuguet Fixed in Version => 3.0PR15Q2
2015-02-04 04:12 AtulOpenbravo Note Added: 0074064
2015-02-04 08:45 dmitry_mezentsev Relationship added caused by 0026199
2015-02-04 20:35 hudsonbot Checkin
2015-02-04 20:35 hudsonbot Note Added: 0074213


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker