Modify ↓
Opened 19 years ago
Closed 19 years ago
#1959 closed defect (fixed)
"String index out of range" error when undertaking a search
Reported by: | anonymous | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | highest | Milestone: | 0.9 |
Component: | ticket system | Version: | devel |
Severity: | critical | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
When undertaking a search from http://projects.edgewall.com/trac/search and no input is given (i.e. just clicked search) a String out of range error was returned.
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 210, in handler dispatch_request(mpr.path_info, mpr, env) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 452, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 312, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.3/site-packages/trac/Search.py", line 163, in process_request results += list(source.get_search_results(req, query, filters)) File "/usr/lib/python2.3/site-packages/trac/ticket/api.py", line 184, in get_search_results sql = "SELECT DISTINCT a.summary,a.description,a.reporter, " \ File "/usr/lib/python2.3/site-packages/trac/Search.py", line 61, in query_to_sql if q[0] == q[-1] == "'" or q[0] == q[-1] == '"': IndexError: string index out of range
Attachments (0)
Change History (4)
comment:1 by , 19 years ago
Component: | general → ticket system |
---|---|
Description: | modified (diff) |
Milestone: | → 0.9 |
Priority: | normal → highest |
Severity: | normal → critical |
Version: | 0.8.4 → devel |
comment:2 by , 19 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 19 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
Note:
See TracTickets
for help on using tickets.
Who's anonymous?