hicknhack-software / hicknhack-software/redmine_calendar_subscription

Internal error on Redmine 2.5.1.stable.13136

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Ruby
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

on start, sory for my english. After install i have error on issue.

Started GET "/issues/29" for 192.168.1.143 at 2014-05-16 07:45:00 +0200
Processing by IssuesController#show as HTML
Parameters: {"id"=>"29"}
Current user: m.jasinski (id=5)
Rendered issues/_action_menu.html.erb (2.9ms)
Rendered plugins/redmine_close_button/app/views/issues/_close_button.html.erb (0.7ms)
Rendered plugins/redmine_better_gantt_chart/app/views/issues/_show_estimated_duration.html.erb (3.6ms)
Rendered issues/show.html.erb within layouts/base (19.4ms)
Completed 500 Internal Server Error in 54.5ms

ActionView::Template::Error (bad value for range):
1: <tr>
2: <th class='duration'><%= h l(:field_duration)%>:</th>
3: <td class='duration'><%= issue.duration if issue.duration > 0 %</td>
4: </tr>
lib/redmine/hook.rb:111:in `block in render_on'
lib/redmine/hook.rb:61:in`block (2 levels) in call_hook'
lib/redmine/hook.rb:61:in `each'
lib/redmine/hook.rb:61:in`block in call_hook'
lib/redmine/hook.rb:58:in `tap'
lib/redmine/hook.rb:58:in`call_hook'
lib/redmine/hook.rb:158:in `call_hook'
app/views/issues/show.html.erb:68:in`_app_views_issues_show_html_erb__1114220661511245834_70207009979620'
app/controllers/issues_controller.rb:128:in `block (2 levels) in show'
app/controllers/issues_controller.rb:125:in`show'

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing GET /issues/29 and read the failure through IssuesController#show and app/views/issues/show.html.erb. Inspect the plugin-rendered view named in the trace, plugins/redmine_better_gantt_chart/app/views/issues/_show_estimated_duration.html.erb, to locate the bad range value. Done means the issue page renders without the 500 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.