Project

General

Profile

Defect #1036

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

Added by Franz S almost 8 years ago. Updated almost 8 years ago.

Status:
終了(Closed)
Priority:
今すぐ(Immediate)
Target version:
Start date:
05/30/2012
Due date:
% Done:

100%

Estimated time:

Description

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

#1

Updated by Toshiyuki Ando almost 8 years ago

  • Assignee set to Toshiyuki Ando
  • Priority changed from 通常(Normal) to 今すぐ(Immediate)

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

Please wait.

#2

Updated by Toshiyuki Ando almost 8 years ago

  • Status changed from 新規(New) to 解決(Resolved)
  • % Done changed from 0 to 100

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

#3

Updated by Toshiyuki Ando almost 8 years ago

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

#4

Updated by Toshiyuki Ando almost 8 years ago

  • Target version set to 1.0.8.1
#5

Updated by Toshiyuki Ando almost 8 years ago

  • Status changed from 解決(Resolved) to 終了(Closed)

Also available in: Atom PDF