Bug 1129012

Summary: Unable to add description for "Affinity Group" with space character.
Product: Red Hat Enterprise Virtualization Manager Reporter: Udayendu Sekhar Kar <ukar>
Component: ovirt-engine-webadmin-portalAssignee: Gilad Chaplik <gchaplik>
Status: CLOSED ERRATA QA Contact: Lukas Svaty <lsvaty>
Severity: high Docs Contact:
Priority: high    
Version: 3.4.1-1CC: dfediuck, ecohen, iheim, lsvaty, rbalakri, redhat-bugzilla, Rhev-m-bugs, robert.scheck, rpai, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: sla
Fixed In Version: vt4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 18:07:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1156162    

Description Udayendu Sekhar Kar 2014-08-12 05:50:47 UTC
Description of problem:
Unable to add description to affinity group with a space character. For example if I would like to add "Different Host" as the description, its showing the below error message in a "Operation Canceled" windows:

---
Error while executing action: Cannot edit Affinity Group. Description field is invalid.
---

But its allowing to save it without space like "Different_Host".

Also if I will try to edit an existing affinity group the description field is showing blank. It should show the available description.

Version-Release number of selected component (if applicable):
rhevm 3.4.1

How reproducible:
100%

Steps to Reproduce:
1. Go to the Virtual Machines Tab
2. Select a VM
3. In the lower pan go to the "Affinity Group" and click on New or Edit and then try to enter something in the Description field.

Actual results:
Description field is not allowing the entry with a space character.

Expected results:
It should allow with the space character and for edit, it should show the existing description.

Comment 1 Eyal Edri 2014-09-10 21:29:07 UTC
bug fixed in vt3.
if you think it's not included in latest build, please contact rhev-integ

Comment 2 Lukas Svaty 2014-09-16 12:17:51 UTC
in vt3
	
Operation Canceled
Error while executing action: Cannot add Affinity Group. Description field is invalid.

Used description: 'foo bar'

Comment 3 Gilad Chaplik 2014-09-28 13:19:20 UTC
looks like it wasn't included in vt3.

setting vt4 and ON_QA

Comment 4 Lukas Svaty 2014-10-02 11:50:47 UTC
same behaviour as in comment#2

Comment 5 Lukas Svaty 2014-10-02 11:56:54 UTC
My mistake on the verification.. moving to VERIFIED

Comment 7 errata-xmlrpc 2015-02-11 18:07:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0158.html