Bug 1085287

Summary: [Admin Portal] New VM dialog shows 'VNC keyboard layout' when SPICE console protocol is selected
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-engine-webadmin-portalAssignee: Martin Betak <mbetak>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acathrow, ecohen, gklein, iheim, michal.skrivanek, ofrenkel, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-10 09:34:59 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:
Attachments:
Description Flags
screenshot none

Description Jiri Belka 2014-04-08 09:53:53 UTC
Created attachment 883944 [details]
screenshot

Description of problem:
New VM dialog shows 'VNC keyboard layout' when SPICE console protocol is selected. There's no check that SPICE is selected and one can select keyboard layout from list and the value is saved into DB.

engine=# select vm_name,default_display_type,vnc_keyboard_layout from vm_static where vm_name = 'testttt';
-[ RECORD 1 ]--------+--------
vm_name              | testttt
default_display_type | 1
vnc_keyboard_layout  | ar


Version-Release number of selected component (if applicable):
av6/rhevm-webadmin-portal-3.4.0-0.13.beta3.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. new vm, show advanced options -> console
2.
3.

Actual results:
mixed console protocol options (spice and vnc keyboard layout)

Expected results:
vnc options should be hidden when spice is selected

Additional info:

Comment 1 Omer Frenkel 2014-04-09 07:49:43 UTC
well need to consider that as we plan to allow both protocols. bz 1033547

Comment 2 Martin Betak 2014-04-10 09:34:59 UTC

*** This bug has been marked as a duplicate of bug 1057591 ***