Project

General

Profile

Actions

Defect #896

closed

500 Internal server error

Added by Ivan Cenov about 13 years ago. Updated almost 13 years ago.

Status:
終了(Closed)
Priority:
通常(Normal)
Target version:
Start date:
12/11/2011
Due date:
% Done:

100%

Estimated time:

Description

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

Here is the log:

Processing WelcomeController#index (for 192.168.2.100 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>
37: 
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'
    app/views/layouts/base.html.erb:35
    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)

Ivan


Related issues 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Ivan Cenov about 13 years ago

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

Actions #2

Updated by Mitsuyoshi Yoshida almost 13 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.

Actions #3

Updated by Mitsuyoshi Yoshida almost 13 years ago

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

Updated by Mitsuyoshi Yoshida almost 13 years ago

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

Also available in: Atom PDF