Bug #15788
closed
Discovery widget crashes for hosts without reports
Added by Daniel Lobato Garcia over 8 years ago.
Updated over 8 years ago.
Category:
Discovery plugin
|
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.
- Status changed from New to Ready For Testing
- Assignee set to Daniel Lobato Garcia
- Pull request https://github.com/theforeman/foreman_discovery/pull/288 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF