Bug 790138

Summary: Systems: hand-rolled systems cannot be initially created with a multibyte name.
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: Subscription ManagementAssignee: Tom McKay <tomckay>
Status: CLOSED ERRATA QA Contact: Corey Welton <cwelton>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: achan, cpelland, dmacpher, mmccune, omaciel, tomckay
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Systems with localized names resulted in errors when registering in System Engine. An error in the candlepin component prevented special characters from being used as the system name. This fix updates the candlepin option to allow any characters in system name.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:42:11 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: 799979    
Bug Blocks: 782954    

Description Corey Welton 2012-02-13 18:21:43 UTC
Description of problem:
Although we can rename an existing system already registered to katello to one using multibyte characters, manual creation throws an error when trying to use such characters.

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


How reproducible:


Steps to Reproduce:
1.  Using subscription-manager, register a system to katello
2.  Systems > $system > System Properties
3.  Edit the Name field and replace the existing name with "红豆"; verify this works.
4.  Systems > +New System
5.  Attempt to create a new system with the name "不好"
6.  View results.
  
Actual results:
* System name cannot contain most special characters.
* System not created

Expected results:
* Parity with the ability to rename an existing system.

Additional info:
Workaround:  create system using standard alphanumeric characters ("buhao") and then edit that system to replace the name with multibyte ("不好"), per steps 1-3 above.

Comment 1 Mike McCune 2012-03-28 16:30:13 UTC
PM indicated that these aren't going to make v1

Comment 2 Tom McKay 2012-05-02 13:18:19 UTC
  Branch: refs/heads/master
  Home:   https://github.com/Katello/katello
  Commit: 90abad8ce851d6692e284abc6c7ea7d45bd8898b
      https://github.com/Katello/katello/commit/90abad8ce851d6692e284abc6c7ea7d45bd8898b
  Author: Tom McKay <thomasmckay>
  Date:   2012-04-30 (Mon, 30 Apr 2012)

Requires candlepin-0.5.30 or greater

Comment 4 Corey Welton 2012-09-17 16:48:19 UTC
QE Verified.

CloudForms System Engine Version: 1.1.12-7.el6cf

Comment 6 errata-xmlrpc 2012-12-04 19:42:11 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.

http://rhn.redhat.com/errata/RHSA-2012-1543.html