Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023345Openbravo ERP01. General setuppublic2013-03-20 09:462013-03-26 16:39
malsasua 
pramakrishnan 
highminoralways
closedfixed 
20Community Appliance
 
 
Sandrahuguet
No
Google Chrome
Core
No
0023345: error to move a node in a tree when the node Id is the same that the organization id
If you have a product category with a id, and you have a organization ready with the same id, if you try move the product category node in the product category tree, error is returned:
The organization can not be moved because it is set as ready
. create a product category with the same ID that a organization ready
. move this product category in the product category tree
in org.openbravo.erpCommon.utility.WindowTreeChecks.java, in line 63

the check if it is ready should be done only when it is a organization tree
No tags attached.
Issue History
2013-03-20 09:46malsasuaNew Issue
2013-03-20 09:46malsasuaAssigned To => dmiguelez
2013-03-20 09:46malsasuaWeb browser => Google Chrome
2013-03-20 09:46malsasuaModules => Core
2013-03-20 09:46malsasuaOBNetwork customer => No
2013-03-20 09:46malsasuaTriggers an Emergency Pack => No
2013-03-21 13:14pramakrishnanAssigned Todmiguelez => pramakrishnan
2013-03-21 13:14pramakrishnanStatusnew => scheduled
2013-03-21 13:14pramakrishnanfix_in_branch => pi
2013-03-25 09:45pramakrishnanNote Added: 0057399
2013-03-25 10:38hgbotCheckin
2013-03-25 10:38hgbotNote Added: 0057402
2013-03-25 10:38hgbotStatusscheduled => resolved
2013-03-25 10:38hgbotResolutionopen => fixed
2013-03-25 10:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a3f5f7b142d1cafb3e6f5e126adb1a12b5a33ea3 [^]
2013-03-25 12:05SandrahuguetReview Assigned To => Sandrahuguet
2013-03-25 12:05SandrahuguetNote Added: 0057404
2013-03-25 12:05SandrahuguetStatusresolved => closed
2013-03-26 16:39hudsonbotCheckin
2013-03-26 16:39hudsonbotNote Added: 0057467

Notes
(0057399)
pramakrishnan   
2013-03-25 09:45   
Test plan:
1. Create a product category with uuid same as that of any organization which is set as ready.
2. From the tree popup, try to move the newly product category to some other position.
3. Notice that the product category moved successfully without any errors.
(0057402)
hgbot   
2013-03-25 10:38   
Repository: erp/devel/pi
Changeset: a3f5f7b142d1cafb3e6f5e126adb1a12b5a33ea3
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Sun Mar 24 18:09:34 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/a3f5f7b142d1cafb3e6f5e126adb1a12b5a33ea3 [^]

Fixes Issue 23345: Error in moving a node in a tree

---
M src/org/openbravo/erpCommon/utility/WindowTreeChecks.java
---
(0057404)
Sandrahuguet   
2013-03-25 12:05   
Code review and testing in ob/ob OK
(0057467)
hudsonbot   
2013-03-26 16:39   
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/2d2b0f1dddcd [^]

Maturity status: Test