Bug 1011405

Summary: Organization Name shouldn't accept leading and trailing space
Product: Red Hat Satellite 5 Reporter: Paresh Mutha <pmutha>
Component: WebUIAssignee: Tomas Lestach <tlestach>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 560CC: pmutha, tkasparek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-16 08:44:40 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:
Bug Depends On:    
Bug Blocks: 924189    

Description Paresh Mutha 2013-09-24 08:28:21 UTC
Description of problem:
While creating a Organization, if we enter a name with trailing space it is accepted and the organization is created. This trailing space is leading to traceback errors while doing spacewalk-splice-checkin.

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

How reproducible:
Always

Steps to Reproduce:
1. Login -> Admin -> Organizations
2. Create new organization -> Entered the name as  "test 1 "

Actual results:
Organization with name as "test 1 " is created

Expected results:
It should either remove the trailing space or not allow to create the organization with the space at start and end

Additional info: