Project

General

Profile

Actions

Bug #15788

closed

Discovery widget crashes for hosts without reports

Added by Daniel Lobato Garcia almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The widget is calling 'host.last_report < 7.days.ago' - which fails with "ActionView::Template::Error (undefined method `<' for nil:NilClass)" if the host has no reports.

Actions

Also available in: Atom PDF