Modify ↓
Opened 7 years ago
Closed 7 years ago
#13037 closed defect (fixed)
IndexError: list assignment index out of range
| Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.17 |
| Component: | ticket system | Version: | 1.0-stable |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: |
Fix exception in log due to invalid Query module request. |
||
| API Changes: | |||
| Internal Changes: | |||
Description
2018-06-01 01:44:42,441 Trac[main] ERROR: [206.47.39.180] Internal Server Error: <RequestWithSession "POST '/query'">, referrer 'https://bugs.jquery.com/query'
Traceback (most recent call last):
File "/var/www/bugs.jquery.com/private/pve/local/lib/python2.7/site-packages/trac/web/main.py", line 623, in _dispatch_request
dispatcher.dispatch(req)
File "/var/www/bugs.jquery.com/private/pve/local/lib/python2.7/site-packages/trac/web/main.py", line 239, in dispatch
resp = chosen_handler.process_request(req)
File "/var/www/bugs.jquery.com/private/pve/local/lib/python2.7/site-packages/trac/ticket/query.py", line 914, in process_request
constraints = self._get_constraints(req)
File "/var/www/bugs.jquery.com/private/pve/local/lib/python2.7/site-packages/trac/ticket/query.py", line 1059, in _get_constraints
del vals[idx]
IndexError: list assignment index out of range
Attachments (0)
Change History (3)
comment:1 by , 7 years ago
| Component: | general → ticket system |
|---|---|
| Milestone: | → 1.0.17 |
comment:2 by , 7 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
| Version: | → 1.0-stable |
Note:
See TracTickets
for help on using tickets.



Proposed change:
trac/ticket/query.py
idx >= 0: