Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#13823 closed defect (duplicate)

Search is broken

Reported by: Massimo Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.4

Description

Searching with [x] Blog search filter enabled fails like this:

 Trac detected an internal error:

SyntaxError: syntax error at or near "."
LINE 3:                     bp1.title, bp1.body
                               ^

Most recent call last:

    File "/mnt/data/trac/.local/lib64/python2.7/site-packages/trac/web/main.py", line 639 , in dispatch_request
    File "/mnt/data/trac/.local/lib64/python2.7/site-packages/trac/web/main.py", line 250 , in dispatch
    File "/mnt/data/trac/.local/lib64/python2.7/site-packages/trac/search/web_ui.py", line 109 , in process_request
    File "/mnt/data/trac/.local/lib64/python2.7/site-packages/trac/search/web_ui.py", line 236 , in _do_search
    File "/mnt/data/trac/.local/lib64/python2.7/site-packages/tracfullblog/web_ui.py", line 424 , in get_search_results
    File "/mnt/data/trac/.local/lib64/python2.7/site-packages/tracfullblog/model.py", line 43 , in search_blog_posts
    File "/mnt/data/trac/.local/lib64/python2.7/site-packages/trac/db/api.py", line 50 , in execute
    File "/mnt/data/trac/.local/lib64/python2.7/site-packages/trac/db/util.py", line 129 , in execute
    File "/mnt/data/trac/.local/lib64/python2.7/site-packages/trac/db/util.py", line 73 , in execute

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by Massimo

Trac Release: 1.4

comment:2 Changed 5 years ago by Ryan J Ollos

Resolution: duplicate
Status: newclosed

Please report the issues in #13813.

comment:3 Changed 5 years ago by Ryan J Ollos

In 17753:

TracFullBlog 0.2dev: Fix regression in r17715

Search query was syntactically incorrect.

Refs #13649, #13823, #13813.

comment:4 Changed 5 years ago by Ryan J Ollos

In 17754:

TracFullBlog 0.2dev: Remove print statement

Refs #13649, #13823, #13813.

comment:5 in reply to:  2 Changed 5 years ago by Ryan J Ollos

Replying to Ryan J Ollos:

Please report the issues in #13813.

Or even better, #13649.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.