Opened 8 years ago

Closed 8 years ago

#16097 closed Bug (fixed)

Trac query builder is broken

Reported by: Luke Plant Owned by: nobody
Component: * Version:
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Steps to reproduce:

  1. Click 'View tickets' above
  2. Click 'Update'



Trac detected an internal error:

TypeError: unhashable type: 'list'

File "/home/trac/venv/lib/python2.6/site-packages/trac/web/", line 511, in _dispatch_request
File "/home/trac/venv/lib/python2.6/site-packages/trac/web/", line 237, in dispatch
  resp = chosen_handler.process_request(req)
File "/home/trac/venv/lib/python2.6/site-packages/trac/ticket/", line 918, in process_request
File "/home/trac/venv/lib/python2.6/site-packages/trac/ticket/", line 73, in __init__
  self.order = synonyms.get(order, order)     # 0.11 compatibility

If you look at the URL - it is crazy long, and seems to have duplicated a lot of info. The duplicated 'order' parameter is apparently the cause of the exception - remove that and it works (but has duplicated columns).

I've tried this in Chrome (while logged in) and Firefox (not logged in) and got the same (though you don't get the traceback if you're not logged in).

This used to work very recently, I don't know what has changed.

Change History (2)

comment:1 Changed 8 years ago by Jannis Leidel

Sigh, I've only added a HTTPS redirect as discussed in the core meeting yesterday. I have no idea how that would trigger that kind of problem, to be honest.

comment:2 Changed 8 years ago by Jannis Leidel

Resolution: fixed
Status: newclosed

Ok, fixed it by using Trac's use_base_url_for_redirect option and setting Front-End-Https header.

Note: See TracTickets for help on using tickets.
Back to Top