Bug 1072505 - [Admin Portal] Refresh of left-pane tree collapses the tree
Summary: [Admin Portal] Refresh of left-pane tree collapses the tree
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.5.0
Assignee: Alexander Wels
QA Contact: Jiri Belka
URL:
Whiteboard: ux
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-04 17:04 UTC by Jiri Belka
Modified: 2015-02-16 13:35 UTC (History)
10 users (show)

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.
Clone Of:
Environment:
Last Closed: 2015-02-16 13:35:02 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 26161 0 master MERGED webadmin: System tree refresh Never

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


Note You need to log in before you can comment on or make changes to this bug.