Defect #896

500 Internal server error

Added by Ivan Cenov over 8 years ago. Updated over 8 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


The Redmine Information plugin causes 500 Internal server error in Redmine trunk, rev 8182.

Here is the log:

Processing WelcomeController#index (for at 2011-12-10 20:52:07) [GET]
  Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering template within layouts/base
Rendering welcome/index

ActionView::TemplateError (No route matches {:action=>"show", :controller=>"info", :id=>:version}) on line #35 of app/views/layouts/base.html.erb:
32:            'div',
33:            "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe,
34:            :id => 'loggedas') if User.current.logged? %>
35:     <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
36: </div>
38: <div id="header">

    lib/redmine/menu_manager.rb:237:in `render_single_menu_node'
    lib/redmine/menu_manager.rb:189:in `render_menu_node'
    lib/redmine/menu_manager.rb:178:in `render_menu'
    lib/redmine/menu_manager.rb:255:in `menu_items_for'
    lib/redmine/menu_manager.rb:252:in `each'
    lib/redmine/menu_manager.rb:252:in `menu_items_for'
    lib/redmine/menu_manager.rb:177:in `render_menu'
    d:/Program Files/Ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    d:/Program Files/Ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    d:/Program Files/Ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    d:/Program Files/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
    d:/Program Files/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    d:/Program Files/Ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
    d:/Program Files/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
    d:/Program Files/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
    d:/Program Files/Ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
    d:/Program Files/Ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering D:/biz/apps/redmine_trunk/public/500.html (500 Internal Server Error)


Related issues

Related to Redmine Information - Defect #912: support for redmine 1.3.x終了(Closed)Mitsuyoshi Yoshida01/16/2012


Updated by Ivan Cenov over 8 years ago

This is because from revision 8162 of Redmine trunk the routes had been changed. These changes affect redmine_code_review plugin too.


Updated by Mitsuyoshi Yoshida over 8 years ago

Thanks for your reports.

But this bug don't happened in currently latest Redmine version (1.3.0).
I tried in currently latest Redmine trunk (8188), and this error happened.

I think this error happened in not only redmine information or code review plugin, but also almost plugins, too.
And it need a lot of changes in their plugins.
So I fix my plugins, if this change (trunk 8162) is decided formally to adopted in Redmine feature version.


Updated by Mitsuyoshi Yoshida over 8 years ago

  • Status changed from 新規(New) to 担当(Assigned)
  • Assignee set to Mitsuyoshi Yoshida

Updated by Mitsuyoshi Yoshida over 8 years ago

  • Status changed from 担当(Assigned) to 終了(Closed)
  • Target version set to 0.2.5
  • % Done changed from 0 to 100

Also available in: Atom PDF