Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028841 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 05. Production management | major | always | 2015-02-03 10:15 | 2015-02-04 20:35 | |||
Reporter | maite | View Status | public | |||||
Assigned To | AtulOpenbravo | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR15Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | b1889299d7a6 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | Sandrahuguet | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2014-06-18 | |||||||
Regression introduced in release | 3.0PR14Q3 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/3d6754bc564f15ee427e82a3975d23eca890b2a1 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028841: NullPointerException error when posting a work effort | |||||||
Description | NullPointerException error when posting a work effort | |||||||
Steps To Reproduce | 1. 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" | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(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 (viewer) 2015-02-03 16:38 |
Code review + testing OK |
(0074064) AtulOpenbravo (viewer) 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 (viewer) 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 |
![]() |
|||
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 | OBNetwork customer | => Yes |
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 |