Ticket #1328 (assigned defect)

Opened 3 years ago

Last modified 23 months ago

Unicode & paster commands

Reported by: [email protected] 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:

  1. Create a user with an ID (which in my case was a user's full name)

that contains non-unicode caracters like Norwegian "æ", "ø", or "å".

  1. Make sure that you can see something like the example below:

(pyenv) [email protected]:$ paster --plugin=ckan user Users: name=Rustæm

  1. Then try deleting the user with following command:

(pyenv) [email protected]:$ 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

comment:1 Changed 23 months ago by ross

  • Owner dread deleted
  • Status changed from new to assigned
  • Milestone ckan-backlog deleted

Let's see if this is still an issue in 1.8

Note: See TracTickets for help on using tickets.