Project

General

Profile

How can I solve this problem(ActionController::RoutingError (No route matches)) ?

Added by Taeyoung Kim about 9 years ago

I was installing a "agile plugin" on redmine 2.4.2. (agile plugin version is 1.3.11: redmine_agile-1_3_11-light.zip)
But there is one problem.
When I try web action(below web action), but error log was popped up!
<web action> created project, selected issue, created issue, ...
<error log> /var/log/redmine/default/production.log
-------------------------------------------------------------------------------
ActionController::RoutingError (No route matches {:project_id=>#<Project id: 8, name: "test", description: "this project is test project.", homepage: "", is_public: false, parent_id: nil, created_on: "2015-09-24 06:43:43", updated_on: "2015-09-24 06:44:29", identifier: "icbms_testinh", status: 1, lft: 5, rgt: 6, inherit_members: false>, :controller=>"agile_boards"}):
lib/redmine/menu_manager.rb:150: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:168:in `block in menu_items_for'
lib/redmine/menu_manager.rb:165:in `each'
lib/redmine/menu_manager.rb:165: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:45:in `_app_views_layouts_base_html_erb___166957858303245086_38331320'
app/controllers/projects_controller.rb:163:in `show'
-------------------------------------------------------------------------------

I don't know what to do anymore.
Please help me!


Replies (1)

RE: How can I solve this problem(ActionController::RoutingError (No route matches)) ? - Added by Taeyoung Kim about 9 years ago

Taeyoung Kim wrote:

I have done below procedure before above problem came out.

(previous problem : http://www.redmine.org/boards/3/topics/48331)
For troubleshooting previous problem, i modified "/usr/share/redmine/lib/plugins/redmine_agile/lib/redmine_agile/patches/issue_patch.rb"
require_dependency 'agile_rank'  -> require_dependency '/usr/share/redmine/lib/plugins/redmine_agile/app/models/agile_rank'
    (1-1/1)