Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004240Openbravo ERP09. Financial managementpublic2008-07-01 10:452008-12-14 18:51
cromero 
gorka_gil 
highminoralways
closedfixed 
202.40alpha
pi 
 
No
Core
No
0004240: Problem in Product Dimension opening the tree
When you click in the tee icon in the Product dimension tab you get an error:
      
Error:
Session attribute required: 283|S_ExpenseType_ID

It also happen in 2.3x branch
* Go to Financial Management || Accounting || Setup || Accounting Dimension || Product Dimension
* Click tree icon
No tags attached.
depends on backport 0004241 closed gorka_gil Problem in Product Dimension opening the tree 
png Pantallazo-2.png (276,857) 2008-07-01 10:45
https://issues.openbravo.com/file_download.php?file_id=132&type=bug
Issue History
2008-07-01 10:45cromeroNew Issue
2008-07-01 10:45cromeroAssigned To => gorka_gil
2008-07-01 10:45cromerosf_bug_id0 => 2007509
2008-07-01 10:45cromeroFile Added: Pantallazo-2.png
2008-07-01 10:45cromeroOBNetwork customer => No
2008-07-01 10:46cromeroStatusnew => scheduled
2008-07-01 10:46cromerofix_in_branch => trunk
2008-07-02 13:14gorka_gilNote Added: 0008124
2008-07-15 17:32svnbotCheckin
2008-07-15 17:32svnbotNote Added: 0008301
2008-07-15 17:32svnbotStatusscheduled => resolved
2008-07-15 17:32svnbotResolutionopen => fixed
2008-07-15 17:32svnbotsvn_revision => 5858
2008-12-14 18:51psarobeRegression testing => No
2008-12-14 18:51psarobeStatusresolved => closed
2008-12-14 18:51psarobeNote Added: 0011308

Notes
(0008124)
gorka_gil   
2008-07-02 13:14   
The problem is that in product table there is a foreing key with null values (S_ExpenseType_ID).

A proposed solution is to make no mandatory the parent of a tree element:

   Replace in WindowTree.java, in line 66:

   --- String strData = vars.getGlobalVariable(strField, parents[i].nodeId + "|" + parents[i].name);

   for

   +++ String strData = vars.getGlobalVariable(strField, parents[i].nodeId + "|" + parents[i].name, "");
(0008301)
svnbot   
2008-07-15 17:32   
Repository: openbravo
Revision: 5858
Author: gorka_gil
Date: 2008-07-15 17:32:47 +0200 (Tue, 15 Jul 2008)

fixed bug 4240 deleted deprecated code in WindowTree.java

---
U trunk/src/org/openbravo/erpCommon/utility/WindowTree.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=5858&sc=1 [^]
(0011308)
psarobe   
2008-12-14 18:51   
Verify in trunk