{"comment":{"created_at":"2011-10-14T14:01:26Z","body":"I noticed that the issue doesnt occur when a story has 0 storypoint or the storypoint are not filled in.\r\n\r\nA story in the sprint which runs from 2011-08-19 untill 2011-09-02 gives this error:\r\n\r\nProcessing IssuesController#show (for 10.56.23.57 at 2011-10-14 15:50:22) [GET]\r\n  Parameters: {\"action\"=>\"show\", \"id\"=>\"4310\", \"controller\"=>\"issues\"}\r\nRendering template within layouts/base\r\nRendering issues/show.rhtml\r\n\r\nActionView::TemplateError (data series 'points_accepted' is too long (got 12, expected 11)) 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    vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:23:in `initialize'\r\n    vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:23:in `each'\r\n    vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:23: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.rhtml:45:in `_run_rhtml_app47views47issues47show46rhtml'\r\n    app/controllers/issues_controller.rb:121:in `show'\r\n    app/controllers/issues_controller.rb:120:in `show'\r\n    config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'\r\n\r\nRendering D:/RedmineAppl/apps/redmine/public/500.html (500 Internal Server Error)\r\n\r\nA story in the sprint which runs from 2011-09-02 untill 2011-09-15 gives this error:\r\n\r\nProcessing IssuesController#show (for 10.56.23.57 at 2011-10-14 15:54:09) [GET]\r\n  Parameters: {\"action\"=>\"show\", \"id\"=>\"4694\", \"controller\"=>\"issues\"}\r\nRendering template within layouts/base\r\nRendering issues/show.rhtml\r\n\r\nActionView::TemplateError (data series 'points_accepted' is too long (got 12, expected 11)) 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    vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:23:in `initialize'\r\n    vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:23:in `each'\r\n    vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:23: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.rhtml:45:in `_run_rhtml_app47views47issues47show46rhtml'\r\n    app/controllers/issues_controller.rb:121:in `show'\r\n    app/controllers/issues_controller.rb:120:in `show'\r\n    config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'\r\n\r\nRendering D:/RedmineAppl/apps/redmine/public/500.html (500 Internal Server Error)","updated_at":"2011-10-14T14:01:26Z","url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/issues/comments/2406856","id":2406856,"user":{"avatar_url":"https://secure.gravatar.com/avatar/5f9ef4b94cafe478442ce9dad7aa2992?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"5f9ef4b94cafe478442ce9dad7aa2992","url":"https://api.github.com/users/siegerv","id":861297,"login":"siegerv"}},"action":"created","issue":{"number":285,"created_at":"2011-10-14T08:45:25Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"On the latest master, when I try to open an issue(story) I get an internal server error.\r\nThis does not occur for all issues, only for some.\r\n\r\nProcessing IssuesController#show (for 10.56.23.57 at 2011-10-14 10:26:22) [GET]\r\n  Parameters: {\"action\"=>\"show\", \"id\"=>\"4565\", \"controller\"=>\"issues\"}\r\nRendering template within layouts/base\r\nRendering issues/show.rhtml\r\n\r\nActionView::TemplateError (data series 'points_resolved' is too long (got 12, expected 11)) 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    vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:23:in `initialize'\r\n    vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:23:in `each'\r\n    vendor/plugins/redmine_backlogs/app/models/rb_sprint.rb:23: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.rhtml:45:in `_run_rhtml_app47views47issues47show46rhtml'\r\n    app/controllers/issues_controller.rb:121:in `show'\r\n    app/controllers/issues_controller.rb:120:in `show'\r\n    config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'\r\n\r\nRendering D:/RedmineAppl/apps/redmine/public/500.html (500 Internal Server Error)","comments":4,"title":"Internal Server Error when opening some issues","updated_at":"2011-10-14T14:01:26Z","url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/issues/285","id":1908631,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/5f9ef4b94cafe478442ce9dad7aa2992?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"5f9ef4b94cafe478442ce9dad7aa2992","url":"https://api.github.com/users/siegerv","id":861297,"login":"siegerv"},"html_url":"https://github.com/relaxdiego/redmine_backlogs/issues/285","labels":[{"name":"feedback-required","url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/labels/feedback-required","color":"d7e102"}],"state":"open"},"legacy":{"issue_id":1908631,"comment_id":2406856}}