プロジェクト

全般

プロフィール

Defect #896

完了

500 Internal server error

Ivan Cenov さんが12年以上前に追加. 約12年前に更新.

ステータス:
終了(Closed)
優先度:
通常(Normal)
対象バージョン:
開始日:
2011/12/11
期日:
進捗率:

100%

予定工数:

説明

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


関連するチケット 1 (0件未完了1件完了)

関連している Redmine Information - Defect #912: support for redmine 1.3.x終了(Closed)Mitsuyoshi Yoshida2012/01/16

操作

Ivan Cenov さんが12年以上前に更新

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

Mitsuyoshi Yoshida さんが12年以上前に更新

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.

Mitsuyoshi Yoshida さんが12年以上前に更新

  • ステータス新規(New) から 担当(Assigned) に変更
  • 担当者Mitsuyoshi Yoshida にセット

Mitsuyoshi Yoshida さんが約12年前に更新

  • ステータス担当(Assigned) から 終了(Closed) に変更
  • 対象バージョン0.2.5 にセット
  • 進捗率0 から 100 に変更

他の形式にエクスポート: Atom PDF