{"issue":{"milestone":null,"title":"Internal Error when try to open an issue where Story Point is setted","created_at":"2011-12-13T12:26:02Z","user":{"login":"pmoiroux","id":1260176,"url":"https://api.github.com/users/pmoiroux","gravatar_id":"788ee8144af5edb7b8d69c9005c3ffde","avatar_url":"https://secure.gravatar.com/avatar/788ee8144af5edb7b8d69c9005c3ffde?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"labels":[],"updated_at":"2011-12-30T23:05:56Z","state":"open","id":2535957,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":null,"html_url":"https://github.com/relaxdiego/redmine_backlogs/issues/373","body":"When I try to open any issue where Story Point field is setted I get \"Internal error\".\r\n\r\nActionView::TemplateError (undefined method `becomes' for nil:NilClass) on line #45 of app/views/issues/show.html.erb:\r\n42:     <% end %>\r\n43: </tr>\r\n44: <%= render_custom_fields_rows(@issue) %>\r\n45: <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>\r\n46: </table>\r\n47:\r\n48: <% if @issue.description? || @issue.attachments.any? -%>\r\n\r\n    vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:12:in `initialize'\r\n    vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:9:in `collect'\r\n    vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:9:in `initialize'\r\n    vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:231:in `new'\r\n    vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:231:in `burndown'\r\n    lib/redmine/hook.rb:63:in `send'\r\n    lib/redmine/hook.rb:63:in `call_hook'\r\n    lib/redmine/hook.rb:63:in `each'\r\n    lib/redmine/hook.rb:63:in `call_hook'\r\n    lib/redmine/hook.rb:60:in `tap'\r\n    lib/redmine/hook.rb:60:in `call_hook'\r\n    lib/redmine/hook.rb:144:in `call_hook'\r\n    app/views/issues/show.html.erb:45\r\n    app/controllers/issues_controller.rb:127:in `show'\r\n    app/controllers/issues_controller.rb:126:in `show'\r\n    /home/redmine/redmine/public/dispatch.fcgi:25\r\n\r\nIt 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\"\r\n\r\nThanks","number":373,"url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/issues/373","comments":7,"assignee":null},"comment":{"created_at":"2011-12-30T23:05:56Z","user":{"login":"friflaj","id":132108,"url":"https://api.github.com/users/friflaj","gravatar_id":"047813f350e12f0c20213378ce807e94","avatar_url":"https://secure.gravatar.com/avatar/047813f350e12f0c20213378ce807e94?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"updated_at":"2011-12-30T23:05:56Z","id":3318102,"body":"If you look at those  journalized_id values in the last list, do you have\nissue with those ID numbers? I think your database has stray journal\nrecords, not connected to an issue anymore. I can work around that but I'd\nlike to be sure.","url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/issues/comments/3318102"},"action":"created"}