Actions
Bug #15788
closedDiscovery widget crashes for hosts without reports
Difficulty:
Triaged:
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.
Updated by The Foreman Bot about 8 years ago
- 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
Updated by Daniel Lobato Garcia about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|6e4e02870fc6eb7afc8e73ecb878fdf5504b7005.
Actions