Bug 1012032 - [RHEVM][webadmin] make network profile name check behavior consistent within GUI
Summary: [RHEVM][webadmin] make network profile name check behavior consistent within GUI
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.3.0
Hardware: x86_64
OS: Linux
high
low
Target Milestone: ---
: 3.3.0
Assignee: Lior Vernia
QA Contact: Meni Yakove
URL:
Whiteboard: network
Depends On:
Blocks: 3.3snap1
TreeView+ depends on / blocked
 
Reported: 2013-09-25 15:12 UTC by Martin Pavlik
Modified: 2016-02-10 19:52 UTC (History)
8 users (show)

Fixed In Version: is19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-21 22:19:15 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot 1 (131.99 KB, image/png)
2013-09-25 15:12 UTC, Martin Pavlik
no flags Details
screenshot 2 (154.74 KB, image/png)
2013-09-25 15:12 UTC, Martin Pavlik
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 20200 0 None None None Never

Description Martin Pavlik 2013-09-25 15:12:06 UTC
Created attachment 802907 [details]
screenshot 1

Description of problem:

1)
If user creates network profile with unallowed characters in name via
Networks -> your VM network -> edit (button on top of tab) -> Profiles -> profile name e.g a?a (see screenshot 1)

following error message pops up:
Error while executing action: Name must be formed of alphanumeric characters, numbers or "-_".

2)
on the other hand if user goes via
Networks -> your VM network -> Profiles (sub tab)-> New  name e.g a?a (see screenshot 2)

user gets red rectangle and tooltip on what is wrong (which I would prefer for both cases)

3)
Moreover in each case user gets different advice on allowed characters in profile name.
    1)  alphanumeric characters, numbers or "-_"
    2)  alphanumeric '.','_' or '-' characters


Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization Manager Version: 3.3.0-0.23.master.el6ev 

How reproducible:
100%

Steps to Reproduce:
see description

Actual results:
inconsistent behavior and tips

Expected results:
consistent behavior (red rectangle and tooltip) and tips

Additional info:
1)
2013-09-25 16:56:54,726 WARN  [org.ovirt.engine.core.bll.network.vm.AddVnicProfileCommand] (ajp-/127.0.0.1:8702-13) [2fd0ea33] CanDoAction of action AddVnicProfile failed. Reasons:VAR__TYPE__VNIC_PROFILE,VAR__ACTION__ADD,VALIDATION_NAME_INVALID

Comment 1 Martin Pavlik 2013-09-25 15:12:32 UTC
Created attachment 802909 [details]
screenshot 2

Comment 2 Martin Pavlik 2013-09-25 15:16:41 UTC
If you use scenario 2 with network name a_a-a.

Networks -> your VM network -> Profiles (sub tab)-> New  name a_a-a.

it does not produce red rectangle but error message

Error while executing action: Name must be formed of alphanumeric characters, numbers or "-_".

Comment 3 Martin Pavlik 2013-10-18 08:14:36 UTC
works in is19

Comment 4 Itamar Heim 2014-01-21 22:19:15 UTC
Closing - RHEV 3.3 Released

Comment 5 Itamar Heim 2014-01-21 22:25:27 UTC
Closing - RHEV 3.3 Released


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