Project

General

Profile

Redmine_importer compatibility problem with redmine 1.4.4

Added by Florian ROBERT over 12 years ago

Hello,

I'm having problem with plugin redmine_importer (https://github.com/leovitch/redmine_importer) version 1.0 and redmine 1.4.4.

Use case:
  1. Deposit of the plugin folder into the redmine 1.4.4 plugin repository
  2. Launch command "rake db:migrate_plugins RAILS-ENV=production"
    Migrating redmine_importer
  3. Restart redmine
  4. On a project setting module check the importer module box
  5. Click on save
  6. The following error appear on the screen

ActionController::RoutingError in Projects#settings

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

No route matches {:controller=>"importer", :action=>"index", :project_id=>#<Project id: 54, name: "Formations", description: "", homepage: "", is_public: false, parent_id: 8, created_on: "2012-06-05 17:26:16", updated_on: "2012-06-05 17:26:16", identifier: "formations", status: 1, lft: 24, rgt: 25, dmsf_description: nil>}

Extracted source (around line #57):

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

RAILS_ROOT: D:/REDMINE/144/apps/redmine/htdocs
Application Trace | Framework Trace | Full Trace

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

Request

Parameters:

{"id"=>"formations",
"tab"=>"modules"}

Show session dump
Response

Headers:

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

Could someone help me to adapt this plugin to 1.4.4?

Best regards.