Bug 767902 - [webadmin] VM tab: After logout and login the console icon misses
Summary: [webadmin] VM tab: After logout and login the console icon misses
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.1
Assignee: Tomas Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-15 07:53 UTC by Tomas Jelinek
Modified: 2012-08-09 07:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-09 07:58:39 UTC
oVirt Team: ---


Attachments (Terms of Use)

Description Tomas Jelinek 2011-12-15 07:53:55 UTC
Steps to Reproduce:
1. Login to webadmin
2. Logout from webadmin
3. Login to webadmin
4. Go to the Virtual Machines tab
5. Select any virtual machine (running or not)
  
Actual results:
The console action button misses

Additional info:

The problem is in AbstractActionPanel which in addActionButton method registers a selection change listener on the model and fires update on the buttons after catching such an event. However, after logout and login the model changes, so this listener will never again catch an event so the action buttons will not be updated.

Comment 1 Tomas Jelinek 2011-12-15 10:48:12 UTC
http://gerrit.ovirt.org/#change,596

Comment 2 Itamar Heim 2012-08-09 07:58:39 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/


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