Bug 734459

Summary: Roles can be edited to allow superfluous whitespaces
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: Partha Aji <paji>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 17:54:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 747354    

Description Corey Welton 2011-08-30 12:58:37 UTC
Description of problem:
Although one cannot initially create a role with whitespace appending or prepending the name -- it gets truncated -- subsequent attempts to edit the role allows addition of whitespace.

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


How reproducible:


Steps to Reproduce:
1.  Create a new role, "test role    "
2.  Note that when it gets created, it is saved, "test role"
3.  Navigate to the role you just created
4.  Chose to edit this role
5.  Append spaces to the role name "test role       "
6.  Save
7.  Again attempt to edit

Actual results:
The extra whitespace has been appended to the end of the role name

Expected results:
Uniform handling of valid role names throughout creation and update

Additional info:
Users can actually initially create a role prepended with whitespace, though whitespace at the end is removed.  This is a separate bug however.

Comment 2 Corey Welton 2011-09-22 14:46:56 UTC
QA Verified