Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036716Openbravo ERPA. Platformpublic2017-08-25 09:132017-09-21 16:49
JONHM 
caristu 
highmajoralways
closedfixed 
5
 
3.0PR17Q4 
alostale
Core
No
0036716: Tree grid visibility stops working when opening a record in form view and returning to tree view
Tree grid visibility stops working when opening a record in form view and returning to tree view
1) Open 'Organization' window and press the button "Toggle tree view visibility" on the toolbar
2) Expand some records
3) Open 'F&B International Group' organization in form view and press close button in order to return to the tree view.
--> The functionality is not working anymore
No tags attached.
? treeViewIssue.mp4 (2,215,518) 2017-08-25 09:13
https://issues.openbravo.com/file_download.php?file_id=11010&type=bug
Issue History
2017-08-25 09:13JONHMNew Issue
2017-08-25 09:13JONHMAssigned To => platform
2017-08-25 09:13JONHMFile Added: treeViewIssue.mp4
2017-08-25 09:13JONHMModules => Core
2017-08-25 09:13JONHMTriggers an Emergency Pack => No
2017-08-25 09:13JONHMNote Added: 0098645
2017-08-25 09:14JONHMNote Deleted: 0098645
2017-08-25 09:14JONHMNote Added: 0098646
2017-08-29 09:52caristuAssigned Toplatform => caristu
2017-08-29 10:29hgbotCheckin
2017-08-29 10:29hgbotNote Added: 0098688
2017-08-29 10:29hgbotStatusnew => resolved
2017-08-29 10:29hgbotResolutionopen => fixed
2017-08-29 10:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/40963c034a8f7f71f7da2118b8ccea3c4caf51e4 [^]
2017-08-29 10:33caristuReview Assigned To => alostale
2017-09-01 08:38alostaleNote Added: 0098766
2017-09-01 08:38alostaleStatusresolved => closed
2017-09-01 08:38alostaleFixed in Version => 3.0PR17Q4
2017-09-21 16:49hudsonbotCheckin
2017-09-21 16:49hudsonbotNote Added: 0099338

Notes
(0098646)
JONHM   
2017-08-25 09:14   
Attached is a video with the steps to reproduce
(0098688)
hgbot   
2017-08-29 10:29   
Repository: erp/devel/pi
Changeset: 40963c034a8f7f71f7da2118b8ccea3c4caf51e4
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Aug 29 10:10:18 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/40963c034a8f7f71f7da2118b8ccea3c4caf51e4 [^]

fixes bug 36716: Tree view stops working when returning back from form view

When opening the form view of a tree view node, Smartclient copies the values of the node properties into the form but skipping the properties involved in the tree management (these properties the child nodes are also not copied).

When returning back from the form view, the tree node is refreshed with the values of the properties stored in the form. This caused the lost of the tree information of the child nodes because, as mentioned before, the tree properties were not copied when opening the form view.

Apart from the skipped properties, the tree information of the child nodes should not have changed in form view. Therefore, to fix the problem now we do not override the children information when returning from the form view.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js
---
(0098766)
alostale   
2017-09-01 08:38   
code reviewed + tested
(0099338)
hudsonbot   
2017-09-21 16:49   
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/9750b78d3e5c [^]
Maturity status: Test