Bug 1420369

Summary: error in name for new Instance Type doesn't change tab
Product: [oVirt] ovirt-engine Reporter: Lucie Leistnerova <lleistne>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1.0.4CC: bugs, mtessun, tjelinek
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: mtessun: ovirt-4.2?
mtessun: planning_ack+
rule-engine: devel_ack?
rule-engine: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-06 15:46:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lucie Leistnerova 2017-02-08 14:26:58 UTC
Description of problem:
If I enter not unique value to Name input for new Instance Type then instance can't be created . Name input gets red border and in tooltip error 'Name is already used in the environment, create new unique name'. But the General tab doesn't get red border and focus.

Version-Release number of selected component (if applicable):
ovirt-engine-webadmin-portal-4.1.0.4-0.1.el7.noarch

How reproducible: always


Steps to Reproduce:
1. create template with name 'test'
2. go to Configure -> Instance Types
3. try to create new instance type
4. enter name 'test'
5. go to other tab
6. click 'OK'

Actual results: error occurs but General tab doesn't change


Expected results: General tab gets red border and is displayed


Additional info:
error with wrong chars in name works as expected

Comment 1 Martin Tessun 2017-03-06 08:49:25 UTC
It is absolutely not obvious, why the "OK" button does not work in case you do not have the "General" tab active.

As such this needs to be fixed in one way or another.

Comment 2 Martin Tessun 2018-07-06 15:46:06 UTC
This does work as expected in RHV/oVirt 4.2