Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0031088 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| backport | [Openbravo ERP] 04. Warehouse management | major | always | 2015-09-14 12:56 | 2015-10-07 16:50 | |||
| Reporter | VictorVillar | View Status | public | |||||
| Assigned To | vmromanos | |||||||
| Priority | urgent | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | 007045d0abe6 | ||||
| Projection | none | ETA | none | Target Version | 3.0PR15Q4 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | pi | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | dmiguelez | |||||||
| OBNetwork customer | OBPS | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | 38230 | |||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0031088: It should not be possible to define the Costing background process for Organizations not Legal | |||||||
| Description | It should not be possible to define the Costing background process for Organizations not Legal | |||||||
| Steps To Reproduce | As Admin role, Go to Process Request window: create a new register for España Región Norte. This is wrong behavior which could cause inconsistent cost values. It should be possible only for Legals or any ancestor (not children organizations) | |||||||
| Proposed Solution | Define an EntityEventObserver to avoid saving (insert and update) the record when the process is the Costing background and the organization has an ancestor which is a legal entity Add a similar validation in the costing background process itself for the context organization | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0080866) hgbot (developer) 2015-10-07 16:50 |
Repository: erp/backports/3.0PR15Q4 Changeset: 007045d0abe6e9f25ce9ef002d26939a3bcda97e Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com> Date: Wed Sep 30 16:13:10 2015 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR15Q4/rev/007045d0abe6e9f25ce9ef002d26939a3bcda97e [^] Fixed bug 31088: Scheduled Organization for Costing background process The Costing Background Process should only be scheduled for a legal entity or any of its ancestor. The fix adds a validation in both the ProcessRequestEventHandler, so each time a record is saved/updated the validation is run, and in the CostingBackground class itself to control wrong process request scheduled before this validation. --- M src-db/database/sourcedata/AD_MESSAGE.xml M src/org/openbravo/costing/CostingBackground.java M src/org/openbravo/costing/CostingUtils.java M src/org/openbravo/event/ProcessRequestEventHandler.java --- |
|
(0080867) dmiguelez (viewer) 2015-10-07 16:50 |
Code Review + Testing Ok |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2015-10-07 16:49 | dmiguelez | Type | defect => backport |
| 2015-10-07 16:49 | dmiguelez | Target Version | 3.0PR16Q1 => 3.0PR15Q4 |
| 2015-10-07 16:50 | hgbot | Checkin | |
| 2015-10-07 16:50 | hgbot | Note Added: 0080866 | |
| 2015-10-07 16:50 | hgbot | Status | scheduled => resolved |
| 2015-10-07 16:50 | hgbot | Resolution | open => fixed |
| 2015-10-07 16:50 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/9bcc5cdaf9996b5bb29aee3422f66f79c589f039 [^] => http://code.openbravo.com/erp/backports/3.0PR15Q4/rev/007045d0abe6e9f25ce9ef002d26939a3bcda97e [^] |
| 2015-10-07 16:50 | dmiguelez | Review Assigned To | => dmiguelez |
| 2015-10-07 16:50 | dmiguelez | Note Added: 0080867 | |
| 2015-10-07 16:50 | dmiguelez | Status | resolved => closed |
| Copyright © 2000 - 2009 MantisBT Group |