Bug 782959

Summary: Can't create a user with i18n name
Product: Red Hat Satellite Reporter: Partha Aji <paji>
Component: Localization and InternationalizationAssignee: Partha Aji <paji>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: cwelton, mmccune
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: 2012-08-22 18:20:56 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: 783251    
Bug Blocks:    
Attachments:
Description Flags
pulp trace on user create none

Description Partha Aji 2012-01-18 23:36:43 UTC
Created attachment 556131 [details]
pulp trace on  user create

Steps to Reproduce:
1. Set admin locale to kn
2. Goto to the  users page
3. Click on new user or "ಹೊಸ ಬಳಕೆದಾರ"
4. Set following credentials

ಬಳಕೆದಾರ ಹೆಸರು (username) -> ಬಳಕೆದಾರ
ಗುಪ್ತಪದ (passwd) -> password
ಖಚಿತಪಡಿಸಿ (confirm) -> password
ಇಮೈಲ್ ವಿಳಾಸ (email) -> fooxyz


5. Save
  
Actual results:

Stacktrace from pulp 

Failed to create pulp user ಬಳಕೆದಾರ: Pulp::User: 500 Internal Server Error "Given ID is invalid. ID may contain numbers(0-9), upper and lower case letters(A-Z, a-z), hyphens(-), underscore(_) and periods(.)\")

complete trace attached

Expected results:

Successful user create.

Additional info:
Might need to have an english name for the pulp user or use the DB id to create the user.

Comment 1 Partha Aji 2012-01-30 22:21:39 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 2 Corey Welton 2012-02-02 17:29:25 UTC
QA Verified (against pulp 0.263)