Project

General

Profile

Error #426

Internal Server error on Redmine 1.1.0 and Backlogs Plugin enabled

Added by Matthias Neubert over 13 years ago. Updated over 13 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2011-02-25
Due date:
% Done:

0%

Estimated time:
Source:
Detected on version:
Redmine version:
Milestones:

Description

Hello,

in described situation when having backlogs plugin enabled clicking on Roadmap produces
internal error 500. (see [1]) In Projects where backlogs plugin is not enabled, everythign is fine.
Shure, this is not backlogs plugin issue website, but it may be easier to make advanced-roadmap more robust
against this.

regards
Matthias

[1]
ActionView::TemplateError (NaN) on line #17 of app/views/versions/_overview.rhtml:
14: </ul>
15:
16: <% if version.fixed_issues.count > 0 >
17: <
= progress_bar([version.closed_pourcent, version.completed_pourcent], :width => '40em', :legend => ('%0.0f%' % version.completed_pourcent)) >
18: <p class="progress-info">
19: <
= link_to_if(version.closed_issues_count > 0, l(:label_x_closed_issues_abbr, :count => version.closed_issues_count), :controller => 'issues', :action => 'index', :project_id => version.project, :status_id => 'c', :fixed_v$
20: (<%= '%0.0f' % (version.closed_issues_count.to_f / version.fixed_issues.count * 100) %>%)

app/helpers/application_helper.rb:773:in `collect'
app/helpers/application_helper.rb:773:in `progress_bar'
app/views/versions/_overview.rhtml:17:in `_run_rhtml_app47views47versions47_overview46rhtml_locals_object_overview_version'
vendor/plugins/advanced_roadmap.0.3.0/app/views/versions/_info.html.erb:1
vendor/plugins/advanced_roadmap.0.3.0/app/views/versions/index.html.erb:10
vendor/plugins/advanced_roadmap.0.3.0/app/views/versions/index.html.erb:8:in `each'
vendor/plugins/advanced_roadmap.0.3.0/app/views/versions/index.html.erb:8
/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 /opt/redmine/redmine_caruso/public/500.html (500 Internal Server Error)

Also available in: Atom PDF