Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 740969

Summary: Attempting to create an Organization with a Tab in the name returns cryptic error message.
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: Partha Aji <paji>
Status: CLOSED CURRENTRELEASE QA Contact: Tazim Kolhar <tkolhar>
Severity: low Docs Contact:
Priority: low    
Version: NightlyCC: bkearney, cwelton, ehelms, mmccune, tkolhar
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: 2014-07-02 14:05:15 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:

Description Corey Welton 2011-09-24 00:02:53 UTC
Description of problem:
If a user tries to create an org that has a tab in the name (not easily done, but feasible if, say, copying from notepad or a spreadsheet, etc.), an odd error message is returned.

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


How reproducible:


Steps to Reproduce:
1.  Organizations > List > New Organization
2.  In some GUI text editor, type the string "Test	Org" (That is, Test<tab>Org" and copy it
3.  Paste this string into org field
  
Actual results:

Validation Failed:

    Cp key is invalid

Expected results:
A non-cryptic error message - or at very least, the same one that talks about the valid/invalid characters for an org

Additional info:

Comment 1 Corey Welton 2011-09-24 00:07:35 UTC
Note: There are other places (e.g., Roles, Providers) where embedded tabs do seem to be allowed.  Not sure what we want to do there.

Comment 2 Partha Aji 2011-10-13 17:34:23 UTC
So after discussing decided, No tabs for names. This should be fixed as of http://git.fedorahosted.org/git/?p=katello.git;a=commit;h=f607c5c829ed3405e021cb6f3f5f5e9f2150c2fe

Roles/Users/Organizations/Environments/Providers/Product should follow this contract.

Comment 3 Corey Welton 2011-10-25 03:50:28 UTC
Most of this bug was fixed but not all of it - though I am possibly willing to forego the rest of it.

Such names are now rejected, but user still gets the "Cp key is invalid" message on the screen - which really makes no sense. Can we get an explanation as to what this means, or remove it or....?

Returning for dev for consideration but not that critical.

Comment 4 Eric Helms 2013-01-22 19:01:42 UTC
This appears to be fixed upstream, with the user receiving only a standard validation error message when attempting to create and Organization with a tab in the name.

As of - 909cf6dc7ea400013a06f1e3494d216ee67e5bee

Comment 5 Bryan Kearney 2014-01-21 19:08:08 UTC
Moving to Sat6 to be tracked there. Upstream bugs are moving to redmine.

Comment 8 Tazim Kolhar 2014-05-19 07:58:07 UTC
VERIFIED
Org created

Comment 9 Bryan Kearney 2014-07-02 14:05:15 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.