Modify ↓
#2126 closed defect (worksforme)
Search gives traceback
Reported by: | Rede | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
'foo' foobaz 'bar'
as search condition gives:
near "foobaz": syntax error
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 205, in handler dispatch_request(mpr.path_info, mpr, env) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.3/site-packages/trac/Search.py", line 157, in process_request results += list(source.get_search_results(req, query, filters)) File "/usr/lib/python2.3/site-packages/trac/ticket/api.py", line 192, in get_search_results cursor.execute(sql) File "/usr/lib/python2.3/site-packages/trac/db.py", line 208, in execute sqlite.Cursor.execute(self, sql, args or []) OperationalError: near "foobaz": syntax error
Attachments (0)
Note:
See TracTickets
for help on using tickets.
This seems to work now (Trac ≥ 0.9.3)