Project

General

Profile

1.2.1->1.4.1 ActionController::RoutingError in Projects#show

Added by Bogor shi over 12 years ago

from 1.2.1 update to 1.4.1

ActionController::RoutingError in Projects#show

Showing app/views/layouts/base.html.erb where line #57 raised:

No route matches {:action=>"index", :project_id=>#<Project id: 5, name: "proj5", description: "", homepage: "", is_public: false, parent_id: nil, created_on: "2011-10-18 09:33:58", updated_on: "2012-03-19 00:09:20", identifier: "tstpj5", status: 1, lft: 1, rgt: 30>, :controller=>"treasures"}

Extracted source (around line #57):

54: 
55:     <% if display_main_menu?(@project) %>
56:     <div id="main-menu">
57:         <%= render_main_menu(@project) %>
58:     </div>
59:     <% end %>
60: </div>

RAILS_ROOT: /tstredmine
Application Trace | Framework Trace | Full Trace

/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:420:in `generate'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/url_rewriter.rb:218:in `rewrite_path'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/url_rewriter.rb:197:in `rewrite_url'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/url_rewriter.rb:175:in `rewrite'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:625:in `url_for'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_view/helpers/url_helper.rb:85:in `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_view/helpers/url_helper.rb:85:in `url_for'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_view/helpers/url_helper.rb:228:in `link_to'
/tstredmine/lib/redmine/menu_manager.rb:150:in `render_single_menu_node'
/tstredmine/lib/redmine/menu_manager.rb:102:in `render_menu_node'
/tstredmine/lib/redmine/menu_manager.rb:91:in `render_menu'
/tstredmine/lib/redmine/menu_manager.rb:168:in `menu_items_for'
/tstredmine/lib/redmine/menu_manager.rb:165:in `each'
/tstredmine/lib/redmine/menu_manager.rb:165:in `menu_items_for'
/tstredmine/lib/redmine/menu_manager.rb:90:in `render_menu'
/tstredmine/lib/redmine/menu_manager.rb:80:in `render_main_menu'
/tstredmine/app/views/layouts/base.html.erb:57:in `_run_erb_app47views47layouts47base46html46erb'
/tstredmine/app/controllers/projects_controller.rb:168:in `show'

Request

Parameters:

{"id"=>"tstpj5"}

Show session dump
Response

Headers:

{"Content-Type"=>"",
 "Cache-Control"=>"no-cache"}


Replies (1)

RE: 1.2.1->1.4.1 ActionController::RoutingError in Projects#show - Added by Mischa The Evil over 12 years ago

This seems to be a plugin issue since Redmine core doesn't provide a treasures controller. Please try it without any plugins installed and, if that fixes the issue, ask the plugin author to update the plugin.

    (1-1/1)