Ticket #1328 (assigned defect)
Unicode & paster commands
Reported by: | minspamboks@… | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
A possible bug in CKAN when I tried deleting users using "paster --plugin=ckan user delete" command.
To reproduce the bug do the following:
- Create a user with an ID (which in my case was a user's full name)
that contains non-unicode caracters like Norwegian "æ", "ø", or "å".
- Make sure that you can see something like the example below:
(pyenv) rm@mycomputer:$ paster --plugin=ckan user Users: name=Rustæm
- Then try deleting the user with following command:
(pyenv) rm@mycomputer:$ paster --plugin=ckan user delete "Rustæm"
You should now get a python encoding error. I know that this is quite rare case, but in our case it caused some trouble. Could you guys have a look at this bug?
CKAN ver. 1.3.3.
Change History
Note: See
TracTickets for help on using
tickets.
Let's see if this is still an issue in 1.8