Modify ↓
Opened 15 years ago
Closed 15 years ago
#9011 closed defect (worksforme)
AssertionError:
Reported by: | Owned by: | dspangenberg | |
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | search system | Version: | 0.11.1 |
Severity: | trivial | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /search
, Trac issued an internal error.
Type only an whitespace into the search field and search. Then the error should be occur.
Request parameters:
{'q': u' '}
User Agent was: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7
System Information
Trac | 0.11.1
|
Python | 2.5.2 (r252:60911, Jan 4 2009, 22:17:10) [GCC 4.3.2]
|
setuptools | 0.6c8
|
SQLite | 3.5.9
|
pysqlite | 2.4.1
|
Genshi | 0.5.1
|
mod_python | 3.3.1
|
Subversion | 1.5.1 (r32289)
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 423, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 197, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.5/site-packages/trac/search/web_ui.py", line 106, in process_request results += list(source.get_search_results(req, terms, filters)) File "/usr/lib/python2.5/site-packages/trac/ticket/web_ui.py", line 192, in get_search_results sql, args = search_to_sql(db, ['b.newvalue'], terms) File "/usr/lib/python2.5/site-packages/trac/search/api.py", line 48, in search_to_sql assert columns and terms AssertionError
Attachments (0)
Note:
See TracTickets
for help on using tickets.
This was fixed in [8084], released in 0.11.5. Please upgrade.