Project

General

Profile

Actions

Defect #6218

closed

Search feature is broken

Added by Sahand S over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Search engine
Target version:
-
Start date:
2010-08-25
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Version: Redmine 1.0.1.stable.4040 (MySQL)

How to reproduce: Searching for anything.

Logs:

Processing SearchController#index (for ********* at 2010-08-25 19:24:06) [GET]
  Parameters: {"action"=>"index", "q"=>"test", "controller"=>"search"}

ActiveRecord::StatementInvalid (Mysql::Error: Unknown column 'text' in 'where clause': SELECT DISTINCT `wiki_pages`.id FROM `wiki_pages`  LEFT OUTER JOIN `wikis` ON `wikis`.id = `wiki_pages`.wiki_id  LEFT OUTER JOIN `projects` ON `projects`.id = `wikis`.project_id WHERE ((projects.status=1 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='wiki')) AND (((LOWER(title) LIKE '%test%') OR (LOWER(text) LIKE '%test%'))))  ORDER BY wiki_pages.created_on DESC LIMIT 11):
  app/controllers/search_controller.rb:77:in `index'
  app/controllers/search_controller.rb:76:in `each'
  app/controllers/search_controller.rb:76:in `index'
  /usr/lib64/ruby/1.8/webrick/httpserver.rb:104:in `service'
  /usr/lib64/ruby/1.8/webrick/httpserver.rb:65:in `run'
  /usr/lib64/ruby/1.8/webrick/server.rb:173:in `start_thread'
  /usr/lib64/ruby/1.8/webrick/server.rb:162:in `start'
  /usr/lib64/ruby/1.8/webrick/server.rb:162:in `start_thread'
  /usr/lib64/ruby/1.8/webrick/server.rb:95:in `start'
  /usr/lib64/ruby/1.8/webrick/server.rb:92:in `each'
  /usr/lib64/ruby/1.8/webrick/server.rb:92:in `start'
  /usr/lib64/ruby/1.8/webrick/server.rb:23:in `start'
  /usr/lib64/ruby/1.8/webrick/server.rb:82:in `start'

Rendering /home/redmine/redmine-1.0/public/500.html (500 Internal Server Error)

Related issues

Related to Redmine - Feature #6887: Upgrade to Rails 2.3.11ClosedJean-Philippe Lang2010-11-13

Actions
Actions

Also available in: Atom PDF