{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/145257e4fc62e2a2b06c2604f0e0c05c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"145257e4fc62e2a2b06c2604f0e0c05c","url":"https://api.github.com/users/pacso","login":"pacso","id":125296},"milestone":null,"labels":[{"name":"feedback-required","color":"d7e102","url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/labels/feedback-required"}],"updated_at":"2011-11-09T22:11:30Z","assignee":null,"closed_at":null,"comments":33,"url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/issues/327","body":"Rails: 2.3.11\r\nRuby: 1.8.7\r\nRedmine: 1.2.1\r\n\r\n```plaintext\r\nActionView::TemplateError (Can only render or redirect once per action) on line #14 of app/views/issues/_sidebar.rhtml:\r\n11: <% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>\r\n12: \t<%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %><br />\r\n13: <% end %>\r\n14: <%= call_hook(:view_issues_sidebar_planning_bottom) %>\r\n15: \r\n16: <%= render_sidebar_queries %>\r\n17: <%= call_hook(:view_issues_sidebar_queries_bottom) %>\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/_sidebar.rhtml:14:in `_run_rhtml_app47views47issues47_sidebar46rhtml_locals_object_sidebar'\r\n    app/views/issues/show.rhtml:119:in `_run_rhtml_app47views47issues47show46rhtml'\r\n    app/helpers/application_helper.rb:873:in `content_for'\r\n    app/views/issues/show.rhtml:118:in `_run_rhtml_app47views47issues47show46rhtml'\r\n    app/controllers/issues_controller.rb:122:in `show_without_todo'\r\n    app/controllers/issues_controller.rb:121:in `show_without_todo'\r\n    passenger (3.0.9) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'\r\n    passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'\r\n    passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'\r\n    passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'\r\n    passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'\r\n    passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'\r\n    passenger (3.0.9) lib/phusion_passenger/utils.rb:479:in `safe_fork'\r\n    passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'\r\n    passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__'\r\n    passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'\r\n    passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'\r\n    passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:180:in `start'\r\n    passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'\r\n    passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'\r\n    passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'\r\n    passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'\r\n    passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'\r\n    passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'\r\n    passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'\r\n    passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'\r\n    passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'\r\n    passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__'\r\n    passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'\r\n    passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'\r\n    passenger (3.0.9) helper-scripts/passenger-spawn-server:99\r\n\r\nRendering /webroot/redmine-1.2-stable/public/500.html (500 Internal Server Error)\r\n","html_url":"https://github.com/relaxdiego/redmine_backlogs/issues/327","title":"Error viewing issues after installing backlogs","number":327,"id":2143484,"created_at":"2011-11-04T12:53:52Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/145257e4fc62e2a2b06c2604f0e0c05c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"145257e4fc62e2a2b06c2604f0e0c05c","url":"https://api.github.com/users/pacso","login":"pacso","id":125296},"updated_at":"2011-11-09T22:11:30Z","url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/issues/comments/2688291","body":"From the source, i have this under the \"Gantt\" option:\r\n\r\n``` html\r\n<div id=\"backlogs_view_issues_sidebar\"></div>\r\n          <script type=\"text/javascript\">\r\n\r\n            if(RB == null) { var RB = {}; }\r\n\r\n            if (RB.constants == null) {\r\n              RB.constants = {\r\n                project_id: 42,\r\n                protect_against_forgery: true,\r\n                request_forgery_protection_token: 'authenticity_token'\r\n              };\r\n            }\r\n\r\n            jQuery(document).ready(function() {\r\n              jQuery('#backlogs_view_issues_sidebar').load('http://dev.pascoeconsulting.co.uk/rb/hooks/sidebar/clubscience/23');\r\n            });\r\n          </script>","id":2688291,"created_at":"2011-11-09T22:11:30Z"}}