Modify ↓
Opened 10 years ago
Closed 10 years ago
#11920 closed defect (fixed)
query:? link with duplicated group parameters leads a TypeError
Reported by: | Jun Omae | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.5 |
Component: | query system | Version: | 0.12-stable |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
Fix crashing query page with multiple |
||
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.
Attachments (0)
Change History (3)
comment:1 by , 10 years ago
Milestone: | 1.0.4 → 1.0.5 |
---|
comment:2 by , 10 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:3 by , 10 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in [13755] and merged to trunk in [13756].