Red Hat Bugzilla – Bug 843061
Creating repo no longer works when Product name has multibyte text
Last modified: 2014-09-18 12:42:20 EDT
Description of problem: Attempting to create a repo with multibyte characters fails. This is a regression - see bug #747827, and possibly others. Version-Release number of selected component (if applicable): Katello Version: 0.2.49-1.git.2.b978990.el6_3 How reproducible: Steps to Reproduce: 1. Create a provider, "Google" and a Product, "谷歌地球" 2. Attempt to create a repo, "谷歌地球 - x86_64" with an URL of http://dl.google.com/linux/earth/rpm/stable/x86_64 3. Note the error, attempt to simply use "谷歌地球" (or any other multibyte character set for that matter) 4. Observe error Actual results: Any attempt to use a multibyte string in a repo name results in error: Validation Failed: Text is too long (maximum is 1024 characters) Expected results: User can enter multibyte characters... Additional info:
So actually it appears that repos cannot be created at all if the product itself has multibyte text -- OR if the repo itself has multibyte. So to recap: Multibyte Product name: Creation of both ascii and multibyte repos fail ascii product name: Ascii Product name: Creation of ascii repo works, but multibyte repo fails with same error.
Background: https://www.redhat.com/archives/katello-devel/2012-June/msg00084.html
BLOCKED by https://bugzilla.redhat.com/show_bug.cgi?id=858011
https://github.com/Katello/katello/pull/705
https://github.com/Katello/katello/pull/726
QE Verified Product: 谷歌地球 Repository: 谷歌地球 - x86_64 CloudForms System Engine Version: 1.1.12-12.el6cf
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