Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#5366 closed defect (duplicate)

Cannot sort on fields with Unicode characters

Reported by: gaobo.pub@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

As described in title, when sorting on such fields, it reports an error. Included as follows:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/var/lib/python-support/python2.5/trac/ticket/report.py", line 88, in process_request
    resp = self._render_view(req, db, id)
  File "/var/lib/python-support/python2.5/trac/ticket/report.py", line 243, in _render_view
    self.add_alternate_links(req, args)
  File "/var/lib/python-support/python2.5/trac/ticket/report.py", line 378, in add_alternate_links
    href = '&' + urllib.urlencode(params)
  File "urllib.py", line 1250, in urlencode
    v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 18 years ago

Description: modified (diff)
Milestone: not applicable
Resolution: duplicate
Severity: blockernormal
Status: newclosed

Duplicate of #4730, fixed in 0.10.4. Please upgrade.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.