relaxdiego/redmine_backlogs — Issue #373: Internal Error when try to open an issue where Story Point is setted
Author: pmoiroux
Created: 2011-12-13 12:26:02+00:00
State: open

When I try to open any issue where Story Point field is setted I get "Internal error".

ActionView::TemplateError (undefined method `becomes' for nil:NilClass) on line #45 of app/views/issues/show.html.erb:
42: <% end %>
43:

44: <%= render_custom_fields_rows(@issue) %>
45: <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
46:

47:
48: <% if @issue.description? || @issue.attachments.any? -%>

vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:12:in `initialize'
vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:9:in `collect'
vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:9:in `initialize'
vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:231:in `new'
vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:231:in `burndown'
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:144:in `call_hook'
app/views/issues/show.html.erb:45
app/controllers/issues_controller.rb:127:in `show'
app/controllers/issues_controller.rb:126:in `show'
/home/redmine/redmine/public/dispatch.fcgi:25

It seems related to a cache issue because if I truncate the table journal_details, and reinsert the same data, it works. If I restart Apache, same error and I have again to export/import the table "journal_details"

Thanks