Bug 782239 - Cannot create repo with i18n org name
Summary: Cannot create repo with i18n org name
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Localization and Internationalization
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Partha Aji
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On: 783251
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2012-01-16 22:13 UTC by Partha Aji
Modified: 2014-09-18 15:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 782232
Environment:
Last Closed: 2012-08-22 18:20:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Partha Aji 2012-01-16 22:13:34 UTC
1) Create an org and give it the name -> ಸಂಸ್ಥೆಗಳು
2) Create a provider -> ಒದಗಿಸು
3) Create a product -> ಉತ್ಪನ್ನ

Considering bz #78322 is fixed

4) Create a repo name-> ರೆಪೊಸಿಟರಿ , url -> http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-15/x86_64/

5)  click save or ರಚಿಸಿ

Expected
Repo created

Actual
Resource POST request: /candlepin/products/1326751301040/content/1326751395943?enabled=true, 
Processing response: 200
Resource GET request: /candlepin/products/1326751301040
Processing response: 200
Resource PUT request: /pulp/api/repositories/, {"groupid":["product:1326751301040","env:22","org:16","content:1326751395943"],"feed_cert_data":{"key":null,"ca":null,"cert":null},"preserve_metadata":false,"content_types":"yum","arch":"noarch","name":"ರೆಪೊಸಿಟರಿ","relative_path":"ಸಂಸ್ಥೆಗಳು/Locker/custom/ಉತ್ಪನ್ನ/ರೆಪೊಸಿಟರಿ","id":"ಸಂಸ್ಥೆಗಳು-ಉತ್ಪನ್ನ-ರೆಪೊಸಿಟರಿ","feed":"http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-15/x86_64/"}
Pulp::Repository: 500 Internal Server Error "Traceback (most recent call last):\n  File \"/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py\", line 48, in report_error\n    return method(self, *args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py\", line 127, in _auth_decorator\n    value = method(self, *args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/repositories.py\", line 253, in POST\n    content_types=repo_data.get('content_types', 'yum'))\n  File \"/usr/lib/python2.7/site-packages/pulp/server/api/repo.py\", line 224, in create\n    self.check_id(id)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/api/base.py\", line 67, in check_id\n    raise PulpException(\"Given ID is invalid. ID may contain numbers(0-9), upper and lower case letters(A-Z, a-z), hyphens(-), underscore(_) and periods(.)\")\nPulpException: Given ID is invalid. ID may contain numbers(0-9), upper and lower case letters(A-Z, a-z), hyphens(-), underscore(_) and periods(.)\n" (PUT /pulp/api/repositories/)Rendered text template (0.0ms)
Setting current user thread-local variable to nil
Completed 400 Bad Request in 4587ms (Views: 1.5ms | ActiveRecord: 73.1ms)

Comment 1 Partha Aji 2012-01-16 22:14:10 UTC
I mean bz - 782232

Comment 3 Partha Aji 2012-01-18 23:16:28 UTC
BTW forgot to state step 0
0) Set the user's default locale to Kannada (kn)

Comment 4 Partha Aji 2012-01-30 22:21:02 UTC
Should be fixed as of http://git.fedorahosted.org/git/?p=katello.git;a=commit;h=930851c800d7b9d63ac960f655e38f1ff912c419 . 

Note you would need pulp-0.0.263-1.*rpm

Comment 5 Corey Welton 2012-02-02 17:33:09 UTC
QA Verified, working against pulp 0.263


Note You need to log in before you can comment on or make changes to this bug.