Route issue with plugins
Added by Anonymous almost 12 years ago
Hello,
I've just upgraded my redmine from 1.3 to 2.1 and almost everything is fine. The only bug I've seen is about routes and old fashioned plugins (customer_plugins 0.2.0). Each page calling for something linked to this plugin fails with e 404 not found error.
I've been looking for some way to fix it but it seems that in the latest redmine the way of dealing whith routes is far different from before and I can't manage to add/correct the routes for this plugin... Of course I've migrated both redmine and plugins database, so I'm almost conviced it's a compatibility issue whith this "old" plugin.
Here is my log (I'm on Debian squeeze):
ActionController::RoutingError (No route matches {:controller=>"customers", :action=>"show", :id=>#<Project id: 341, name: "TOTO", description: "", homepage: "", is_public: false, parent_id: nil, created_on: "2012-09-28 15:44:03", updated_on: "2012-10-04 11:53:32", identifier: "toto", status: 1, lft: 347, rgt: 348, customer_id: nil>}):
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 `render_menu'
lib/redmine/menu_manager.rb:168: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:44:in `_app_views_layouts_base_html_erb___97779355__627726178'
app/controllers/projects_controller.rb:168:in `show'
If anyone could help me ?
Thanks :)
Regards,
Adrien