Project

General

Profile

Bug #25005

Hosts with no reports widget link generates incorrect search

Added by Lukas Zapletal 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Web Interface
Target version:
-
Difficulty:
trivial
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Steps to Reproduce:
1.Create some hosts
2.Goto Dashboard
3.Look at "Host Configuration Status for all" component => "hosts with no reports", that should show a number > 0 of not reported hosts

4.Click on "hosts with no reports"

Actual results:
No hosts listed

Expected results:
The same number of hosts indicated in the dashboard "hosts with no reports"

Additional info:
1- The query associated with "hosts with no reports" should be wrong, now the query is as following

'last_report > "30 minutes ago" and not has last_report and status.enabled = true'

should be

'not has last_report and status.enabled = true'

Associated revisions

Revision 38c7ab7e (diff)
Added by Lukas Zapletal 3 months ago

Fixes #25005 - hosts with no report link on widget (#6082)

History

#1 Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6082 added

#2 Updated by Marek Hulán 3 months ago

  • Fixed in Releases 1.20.0 added

#3 Updated by Lukas Zapletal 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF