Edgewall Software

Ticket #5366 (closed defect: duplicate)

Opened 18 months ago

Last modified 18 months ago

Cannot sort on fields with Unicode characters

Reported by: gaobo.pub@… Owned by: jonas
Priority: normal Milestone:
Component: ticket system Version:
Severity: normal Keywords:
Cc:

Description (last modified by cboos) (diff)

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

Change History

Changed 18 months ago by cboos

  • status changed from new to closed
  • severity changed from blocker to normal
  • resolution set to duplicate
  • description modified (diff)
  • milestone not applicable deleted

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

Add/Change #5366 (Cannot sort on fields with Unicode characters)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.