Error creating user with unicode username
Bug #1166701 reported by
Liang Chen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
Liang Chen |
Bug Description
Creating user with unicode username will produce 500.
Here is the culprit in keystone/
73 if isinstance(
74 if column.type.length and \
75 column.type.length < len(str(v)):
It tries to construct a byte string object when testing the length of the string field (username in this case).
This will cause error if the string field ( v ) is a unicode object.
Changed in keystone: | |
assignee: | nobody → Liang Chen (cbjchen) |
Changed in keystone: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
importance: | Undecided → High |
Changed in keystone: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/26465
Review: https:/