Edgewall Software
Modify

Opened 19 years ago

Closed 18 years ago

Last modified 18 years ago

#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)

Change History (1)

comment:1 by Christian Boos, 18 years ago

Resolution: worksforme
Status: newclosed

This seems to work now (Trac ≥ 0.9.3)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.