Bug 767902

Summary: [webadmin] VM tab: After logout and login the console icon misses
Product: [Retired] oVirt Reporter: Tomas Jelinek <tjelinek>
Component: ovirt-engine-webadminAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, ecohen, iheim
Target Milestone: ---   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-09 07:58:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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/