Bug 1028224

Summary: Resource/group tag names can include trailing spaces
Product: [Other] RHQ Project Reporter: Elias Ross <genman>
Component: Core UIAssignee: Libor Zoubek <lzoubek>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.9CC: hrupp, lzoubek, theute
Target Milestone: ---   
Target Release: RHQ 4.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-23 12:30:03 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:

Description Elias Ross 2013-11-07 23:13:05 UTC
Description of problem:

The UI allows you to tag resources using a name like 'production '

This is problematic, since you can end up creating a tag like 'production' as well. It also confuses doing exact searches.

It makes sense for the UI to simply truncate the tag name.


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


How reproducible: Always


Steps to Reproduce:
1. Create a resource
2. Add a tag, such as 'foo '
3. Add another tag, such as 'foo' (no space)

Actual results:
Two tags, not one.

Expected results:
One tag.

Additional info:

Comment 1 Libor Zoubek 2014-02-28 13:00:44 UTC
in master
commit 4ebcd443d985e2a9d2b45858a92cbe84d57d88fd
Author: Libor Zoubek <lzoubek>
Date:   Fri Feb 28 13:52:32 2014 +0100

    Bug 1028224 - Resource/group tag names can include trailing spaces

Comment 2 Heiko W. Rupp 2014-04-23 12:30:03 UTC
Bulk closing of 4.10 issues.

If an issue is not solved for you, please open a new BZ (or clone the existing one) with a version designator of 4.10.