abahgat/redmine_didyoumean — Issue #8: Routing error in Redmine trunk@8917
Author: jwalkerbg
Created: 2012-02-21 21:51:12+00:00
State: open

Hello,

I tested your plugin with current redmine trunk. It gives route error. Here is the log:

=================start of log======================
Processing IssuesController#new (for 192.168.2.101 at 2012-02-21 23:43:40) [GET]
Parameters: {"project_id"=>"first", "action"=>"new", "controller"=>"issues"}
Rendering template within layouts/base
Rendering issues/new

ActionView::TemplateError (No route matches {:controller=>"search_issues", :action=>"index"}) on line #18 of vendor/plug
ins/redmine_didyoumean/app/views/issues/_didyoumean_injected.html.erb:
15: label_more: "<%= l(:dym_more_issues) %>",
16: label_in: "<%= l(:dym_in_project) %>",
17: issue_url: "<%= url_for(Issue.new) %>",
18: search_url: "<%= url_for(:action => 'index', :controller => 'search_issues') %>"
19: };
20:
21:

vendor/plugins/redmine_didyoumean/app/views/issues/_didyoumean_injected.html.erb:18
lib/redmine/hook.rb:113:in `send'
lib/redmine/hook.rb:113:in `view_issues_form_details_bottom'
lib/redmine/hook.rb:63:in `send'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:63:in `each'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:60:in `tap'
lib/redmine/hook.rb:60:in `call_hook'
lib/redmine/hook.rb:146:in `call_hook'
app/views/issues/_form.html.erb:47
app/helpers/application_helper.rb:931:in `labelled_fields_for'
app/views/issues/_form.html.erb:1
app/views/issues/new.html.erb:11
app/helpers/application_helper.rb:924:in `labelled_form_for'
app/views/issues/new.html.erb:5
app/controllers/issues_controller.rb:135:in `new'
app/controllers/issues_controller.rb:134:in `new'
d:/Ruby187/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
d:/Ruby187/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
d:/Ruby187/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
d:/Ruby187/lib/ruby/1.8/webrick/server.rb:162:in `start'
d:/Ruby187/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
d:/Ruby187/lib/ruby/1.8/webrick/server.rb:95:in `start'
d:/Ruby187/lib/ruby/1.8/webrick/server.rb:92:in `each'
d:/Ruby187/lib/ruby/1.8/webrick/server.rb:92:in `start'
d:/Ruby187/lib/ruby/1.8/webrick/server.rb:23:in `start'
d:/Ruby187/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering D:/biz/apps/redmine_trunk/public/500.html (500 Internal Server Error)
==============end of log======================