プロジェクト

全般

プロフィール

Defect #1036

Error when issue details with related commits in Redmine 1.4.x and Hudson Plugin 1.0.8

Franz S6年以上前に追加. 6年以上前に更新.

ステータス:
終了(Closed)
優先度:
今すぐ(Immediate)
担当者:
対象バージョン:
開始日:
2012/05/30
期日:
進捗率:

100%

予定工数:

説明

Hi,
I just upgrade Redmine from 1.3.3 to 1.4.1. I updated the the Hudson plugin to 1.0.8, too.
When I want to see the details of an issues which has related commits I get an error message:

Processing IssuesController#show (for ***.***.***.*** at 2012-05-07 18:44:17) [GET]
  Parameters: {"action"=>"show", "id"=>"15", "controller"=>"issues"}
Rendering template within layouts/base
Rendering issues/show

ActionView::TemplateError (No route matches {:action=>"activity", :controller=>"projects", :from=>Thu, 26 Jan 2012, :id=>nil}) on line #85 of app/views/issues/show.html.erb:
82: <%= link_to_attachments @issue %>
83: <% end -%>
84:
85: <%= call_hook(:view_issues_show_description_bottom, :issue => @issue) %>
86:
87: <% if !@issue.leaf? || User.current.allowed_to?(:manage_subtasks, @project) %>
88: <hr />

    lib/redmine/hook.rb:63:in `send'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:63:in `each'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:60:in `tap'
    lib/redmine/hook.rb:60:in `call_hook'
    lib/redmine/hook.rb:146:in `call_hook'
    app/views/issues/show.html.erb:85
    app/controllers/issues_controller.rb:118:in `show'
    app/controllers/issues_controller.rb:115:in `show'
    /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:418:in `start_request_handler'
    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application'
    /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start'
    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
    /usr/lib/phusion_passenger/passenger-spawn-server:61

Rendering /var/lib/redmine/public/500.html (500 Internal Server Error)

When I delete the history in the Hudson plugin settings everything is fine until the next Hudson build. So it seems version 1.0.8 is still not completely compatible with Redmine 1.4.1. Could you take a look on this?

Thank you very much!
Franz

関係しているリビジョン

リビジョン 178:e145e7cb5a8f (差分)
Toshiyuki Ando6年以上前に追加

fixes #1036 fixes error occurres when issue shows

correct route for activity

リビジョン 179:5da9d9c594d5 (差分)
Toshiyuki Ando6年以上前に追加

refs #1036 fixes error occures when issue show

履歴

#1 Toshiyuki Ando6年以上前に更新

  • 担当者Toshiyuki Ando にセット
  • 優先度通常(Normal) から 今すぐ(Immediate) に変更

Thank you for your report.
I found same problem in this project!!

Please wait.

#2 Toshiyuki Ando6年以上前に更新

  • ステータス新規(New) から 解決(Resolved) に変更
  • 進捗率0 から 100 に変更

更新履歴 e145e7cb5a8f で適用されました。

#3 Toshiyuki Ando6年以上前に更新

solved!! but i can't prepare for release tonight. sorry.
I'll release 1.0.8.1 tomorrow night.

#4 Toshiyuki Ando6年以上前に更新

  • 対象バージョン1.0.8.1 にセット

#5 Toshiyuki Ando6年以上前に更新

  • ステータス解決(Resolved) から 終了(Closed) に変更

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