Bug 1072505

Summary: [Admin Portal] Refresh of left-pane tree collapses the tree
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-engine-webadmin-portalAssignee: Alexander Wels <awels>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Belka <jbelka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: aberezin, awels, ecohen, gchaplik, gklein, iheim, pstehlik, rbalakri, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ux
Fixed In Version: ovirt-3.5.0-alpha1 Doc Type: Bug Fix
Doc Text:
Cause: When pressing the refresh button the system tree would think something changed and redraw in the default state (3 level deep) regardless of the current state. Consequence: The user would lose the current system tree state when refreshing. Fix: Properly remember the current system tree state and restore to that state when refreshing. Result: The system tree now refreshes without losing state.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-16 13:35:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Belka 2014-03-04 17:04:32 UTC
Description of problem:
Refresh (refresh icon clicked) of left-pane tree does not only refreshed tree elements but it does also collapses the tree (but not fully). This is odd.

Version-Release number of selected component (if applicable):
av2 rhevm-webadmin-portal-3.4.0-0.3.master.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. go to System tree, expand Networks, select 'rhevm' network
2. click on refresh button
3.

Actual results:
selection is moved from 'rhevm' element under 'Networks' to top-parent 'System'; Network subtree is collapsed

Expected results:
just refresh but remember how the tree was expanded before refresh and do not move the position inside the tree

Additional info:
ovirt beta3 (CI provided) is also impacted

Comment 1 Einav Cohen 2014-04-01 18:47:35 UTC
patch is too risky for 3.4, pushing target release to 3.5.

Comment 2 Jiri Belka 2014-08-08 14:08:06 UTC
ok, looks good

ovirt-engine-webadmin-portal-3.5.0-0.0.master.20140804172041.git23b558e.el6.noarch