Opened 9 years ago
Last modified 9 years ago
#11920 closed defect
query:? link with duplicated group parameters leads a TypeError — at Initial Version
Reported by: | Jun Omae | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.5 |
Component: | query system | Version: | 0.12-stable |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
A TypeError
is raised from the following query link.
query:?group=status&group=status&order=priority
Traceback (most recent call last): File "/venv/trac/1.0.3/lib/python2.5/site-packages/trac/web/main.py", line 513, in _dispatch_request dispatcher.dispatch(req) File "/venv/trac/1.0.3/lib/python2.5/site-packages/trac/web/main.py", line 222, in dispatch resp = chosen_handler.process_request(req) File "/venv/trac/1.0.3/lib/python2.5/site-packages/trac/ticket/query.py", line 961, in process_request max) File "/venv/trac/1.0.3/lib/python2.5/site-packages/trac/ticket/query.py", line 131, in __init__ if self.group not in field_names: TypeError: list objects are unhashable
Similar to #10907.
Note:
See TracTickets
for help on using tickets.