Open olewolf opened 7 years ago
When I enable risks for a project, Redmine crashes and refuses to display anything. The log contains the following message:
Started GET "/redmine/projects/haven" for 192.168.2.254 at 2017-06-20 21:12:52 +0200 Processing by ProjectsController#show as HTML Parameters: {"id"=>"haven"} Current user: wolf (id=5) Rendered projects/_members_box.html.erb (0.3ms) Rendered projects/_sidebar.html.erb (0.1ms) Rendered projects/show.html.erb within layouts/base (5.6ms) Completed 500 Internal Server Error in 64ms (ActiveRecord: 34.1ms) ActionView::Template::Error (No route matches {:action=>"index", :controller=>"risks", :id=>#<Project id: 3, name: "Haven", description: "", homepage: "", is_public: false, parent_id: nil, created_on: "2017-05-20 11:21:32", updated_on: "2017-05-20 11:21:32", identifier: "haven", status: 1, lft: 1, rgt: 2, inherit_members: false, default_version_id: nil>}): 86: <% end %> 87: 88: <h1><%= page_header_title %></h1> 89: 90: <% if display_main_menu?(@project) %> 91: <div id="main-menu" class="tabs"> 92: <%= render_main_menu(@project) %> lib/redmine/menu_manager.rb:158:in `render_single_menu_node' lib/redmine/menu_manager.rb:102:in `render_menu_node' lib/redmine/menu_manager.rb:91:in `block in render_menu' lib/redmine/menu_manager.rb:174:in `block in menu_items_for' lib/redmine/menu_manager.rb:171:in `each' lib/redmine/menu_manager.rb:171:in `menu_items_for' lib/redmine/menu_manager.rb:90:in `render_menu' lib/redmine/menu_manager.rb:80:in `render_main_menu' app/views/layouts/base.html.erb:89:in `_app_views_layouts_base_html_erb__1551240728683571859_47076865561900' app/controllers/projects_controller.rb:153:in `show' lib/redmine/sudo_mode.rb:63:in `sudo_mode'
Happens with git commit 30da7a9fbc8e, Redmine version 3.3.1.
When I enable risks for a project, Redmine crashes and refuses to display anything. The log contains the following message:
Happens with git commit 30da7a9fbc8e, Redmine version 3.3.1.