Bug #4276

clicking "view more" on node page results in a template error

Added by Adrian Bridgett almost 2 years ago. Updated almost 2 years ago.

Status:Closed Start date:07/18/2010
Priority:Urgent Due date:
Assignee:Igal Koshevoy % Done:

0%

Category:-
Target version:1.0.2
Keywords: Affected URL:
Branch: Affected Dashboard version:
Votes: 0

Description

Using 1.0.1 .deb provided from your repository, if you click “view more” under “recent reports” on the node page you get this stack trace in the logs (and an error on the screen):

ActionView::TemplateError (Missing template nodes/_report_status_td.erb in view path app/views) on line #28 of app/views/reports/index.html.haml: 25: %tbody 26: – @reports.each do |report| 27: %tr 28: = render ‘report_status_td’, :report => report 29: %td= link_to report.time.to_s(:short), report 30: – unless @node 31: %td= link_to_if report.node, report.host, report.node

haml (3.0.13) [v] rails/./lib/haml/helpers/action_view_mods.rb:11:in `render

'

haml (3.0.13) [v] lib/haml/helpers.rb:90:in `non_haml'
haml (3.0.13) [v] rails/./lib/haml/helpers/action_view_mods.rb:11:in `render

'

app/views/reports/index.html.haml:28:in `_run_haml_app47views47reports47inde

x46html46haml'

app/views/reports/index.html.haml:26:in `each'
app/views/reports/index.html.haml:26:in `_run_haml_app47views47reports47index46html46haml'
haml (3.0.13) [v] rails/./lib/haml/helpers/action_view_mods.rb:13:in `render'
haml (3.0.13) [v] rails/./lib/haml/helpers/action_view_mods.rb:13:in `render'
app/controllers/nodes_controller.rb:34:in `reports'
app/controllers/nodes_controller.rb:33:in `reports'
haml (3.0.13) [v] rails/./lib/sass/plugin/rack.rb:41:in `call'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'

History

Updated by Igal Koshevoy almost 2 years ago

  • Status changed from Unreviewed to Accepted
  • Priority changed from Normal to Urgent
  • Target version set to 1.0.2

Adrian: Thanks for reporting this and other issues. We’ll get a new release fixing these out soon.

Updated by Igal Koshevoy almost 2 years ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Assignee set to Igal Koshevoy

Fixed on: http://github.com/igal/puppet-dashboard/tree/bug-4276-report_status_td_exception

Updated by Rein Henrichs almost 2 years ago

  • Status changed from In Topic Branch Pending Review to Closed

Also available in: Atom PDF