Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0025644 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 05. Production management | major | always | 2014-02-03 15:24 | 2014-02-15 02:00 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | pramakrishnan | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR14Q2 | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | e510966c00fd | |||
Projection | none | ETA | none | Target Version | 3.0PR14Q3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ngarcia | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 25209 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0025644: Cannot create a work effort from a work requirement if operation time / quantity returns a repeating decimal value | |||||||
Description | Cannot create a work effort from a work requirement if operation time / quantity returns a repeating decimal value and the operation is defined as Create Standards | |||||||
Steps To Reproduce | As group admin role: Create an Activity Create a Process Plan, Version, Operation and I/O Products Create a Work Requirement referring to the previously created Process Plan Create an Operation referring to the previously created Version: Quantity: 24 Estimated Time: 1 Create Standards: Y Click on the Create Work Effort button and check that the following error message appears: Non-terminating decimal expansion; no exact representable decimal result. | |||||||
Proposed Solution | The error is launched in the following piece of code of the CreateWorkEffort.java function: estimatedTime = wrOp.getEstimatedTime().divide(wrOp.getQuantity()).multiply(requeriedQty); I think the division should be rounded | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0064025) hgbot (developer) 2014-02-10 10:10 |
Repository: erp/devel/pi Changeset: 618294c2a0b7891270a01fa647a76976cc3355f6 Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com> Date: Mon Feb 03 21:41:52 2014 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/618294c2a0b7891270a01fa647a76976cc3355f6 [^] Fixes Issue 25644: Cannot create a work effort from a work requirement --- M src/org/openbravo/erpCommon/ad_actionButton/CreateWorkEffort.java --- |
(0064177) hudsonbot (viewer) 2014-02-12 18:30 |
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/d1a5bb862230 [^] Maturity status: Test |
(0064230) hgbot (developer) 2014-02-13 16:32 |
Repository: erp/devel/pi Changeset: e510966c00fd0eed6979b3b63595d168c2919e47 Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com> Date: Thu Feb 13 21:00:30 2014 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/e510966c00fd0eed6979b3b63595d168c2919e47 [^] Related to Issue 25644: Cannot create a work effort from a work requirement if operation time / quantity returns a repeating decimal value --- M src/org/openbravo/erpCommon/ad_actionButton/CreateWorkEffort.java --- |
(0064275) hudsonbot (viewer) 2014-02-15 02:00 |
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/90b0b23defc9 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2014-02-03 15:24 | ngarcia | New Issue | |
2014-02-03 15:24 | ngarcia | Assigned To | => jonalegriaesarte |
2014-02-03 15:24 | ngarcia | Modules | => Core |
2014-02-03 15:24 | ngarcia | OBNetwork customer | => Yes |
2014-02-03 15:24 | ngarcia | Support ticket | => 25209 |
2014-02-03 15:24 | ngarcia | Resolution time | => 1395183600 |
2014-02-03 15:24 | ngarcia | Triggers an Emergency Pack | => No |
2014-02-03 15:24 | ngarcia | Issue Monitored: networkb | |
2014-02-03 15:35 | ngarcia | Proposed Solution updated | |
2014-02-03 16:26 | jonalegriaesarte | Assigned To | jonalegriaesarte => pramakrishnan |
2014-02-03 17:12 | pramakrishnan | Status | new => scheduled |
2014-02-03 17:12 | pramakrishnan | fix_in_branch | => pi |
2014-02-10 10:08 | pramakrishnan | Review Assigned To | => ngarcia |
2014-02-10 10:08 | pramakrishnan | fix_in_branch | pi => |
2014-02-10 10:10 | hgbot | Checkin | |
2014-02-10 10:10 | hgbot | Note Added: 0064025 | |
2014-02-10 10:10 | hgbot | Status | scheduled => resolved |
2014-02-10 10:10 | hgbot | Resolution | open => fixed |
2014-02-10 10:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/618294c2a0b7891270a01fa647a76976cc3355f6 [^] |
2014-02-12 17:43 | ngarcia | Status | resolved => closed |
2014-02-12 17:43 | ngarcia | Fixed in Version | => 3.0MP32 |
2014-02-12 18:07 | ngarcia | Status | closed => new |
2014-02-12 18:07 | ngarcia | Resolution | fixed => open |
2014-02-12 18:07 | ngarcia | Fixed in Version | 3.0MP32 => |
2014-02-12 18:30 | hudsonbot | Checkin | |
2014-02-12 18:30 | hudsonbot | Note Added: 0064177 | |
2014-02-13 16:32 | hgbot | Checkin | |
2014-02-13 16:32 | hgbot | Note Added: 0064230 | |
2014-02-13 16:33 | pramakrishnan | Status | new => scheduled |
2014-02-13 16:33 | pramakrishnan | fix_in_branch | => pi |
2014-02-13 16:33 | pramakrishnan | Status | scheduled => resolved |
2014-02-13 16:33 | pramakrishnan | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/618294c2a0b7891270a01fa647a76976cc3355f6 [^] => https://code.openbravo.com/erp/devel/pi/rev/e510966c00fd0eed6979b3b63595d168c2919e47 [^] |
2014-02-13 16:33 | pramakrishnan | Resolution | open => fixed |
2014-02-13 18:10 | ngarcia | Status | resolved => closed |
2014-02-13 18:10 | ngarcia | Fixed in Version | => 3.0MP32 |
2014-02-15 02:00 | hudsonbot | Checkin | |
2014-02-15 02:00 | hudsonbot | Note Added: 0064275 | |
2014-06-02 18:43 | caristu | Relationship added | related to 0026763 |
2014-06-02 18:43 | caristu | Relationship deleted | related to 0026763 |
Copyright © 2000 - 2009 MantisBT Group |