Project

General

Profile

Redmine 5.1.3 plugins_test.rb error "no routes matches" when my plugin add new admin_menu

Added by hieu nd 4 months ago

After upgrading from redmine 5.0.9 to 5.1.3, I ran rake test core and got an error for the plugin that added new admin_menu as below:

RuntimeError: Neutered Exception ActionView::Template::Error: No route matches {:action => 'index', :controller => 'my_plugin_controller_name'}
lib/redmine/menu_manager.rb:183:in `render_single_menu_node'
lib/redmine/menu_manager.rb:183:in `render_menu_node'
....