{"issue":{"milestone":null,"user":{"id":149589,"login":"btomasini","url":"https://api.github.com/users/btomasini","avatar_url":"https://secure.gravatar.com/avatar/0d7753f39f435ce6a52e3056e1053bc8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0d7753f39f435ce6a52e3056e1053bc8"},"title":"Application error opening an issue with story points","created_at":"2011-11-27T23:31:14Z","updated_at":"2011-12-16T17:27:01Z","labels":[{"name":"14days","url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/labels/14days","color":"ededed"},{"name":"feedback-required","url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/labels/feedback-required","color":"d7e102"},{"name":"no-feedback","url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/labels/no-feedback","color":"e10c02"}],"state":"closed","id":2362767,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/relaxdiego/redmine_backlogs/issues/359","closed_at":"2011-12-16T17:27:01Z","body":"When I view an issue in the normal Redmine issue viewer, I get the following error if the issue has story points assigned.\r\n\r\nI am running Redmine 1.2 and  backlogs 1.2.2.\r\n\r\n\r\nActionView::TemplateError (undefined method `[]' for nil:NilClass) on line #45 of app/views/issues/show.rhtml:\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    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.rhtml:45:in `_run_rhtml_app47views47issues47show46rhtml'\r\n    app/controllers/issues_controller.rb:122:in `show'\r\n    app/controllers/issues_controller.rb:121:in `show'\r\n    /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'\r\n    /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'\r\n    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:418:in `start_request_handler'\r\n    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application'\r\n    /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'\r\n    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application'\r\n    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'\r\n    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'\r\n    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'\r\n    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'\r\n    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start'\r\n    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'\r\n    /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'\r\n    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'\r\n    /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'\r\n    /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'\r\n    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'\r\n    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'\r\n    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'\r\n    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'\r\n    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'\r\n    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'\r\n    /usr/lib/phusion_passenger/passenger-spawn-server:61","number":359,"url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/issues/359","comments":4,"assignee":null},"action":"closed"}