Bug 1012032
| Summary: | [RHEVM][webadmin] make network profile name check behavior consistent within GUI | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Martin Pavlik <mpavlik> | ||||||
| Component: | ovirt-engine-webadmin-portal | Assignee: | Lior Vernia <lvernia> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Meni Yakove <myakove> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 3.3.0 | CC: | acathrow, bazulay, ecohen, gklein, iheim, masayag, Rhev-m-bugs, yeylon | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | 3.3.0 | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | network | ||||||||
| Fixed In Version: | is19 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-01-21 22:19:15 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 1026487 | ||||||||
| Attachments: |
|
||||||||
Created attachment 802909 [details]
screenshot 2
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 "-_". works in is19 Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released |
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