Bug #38550
closedWeb UI shows incorrect host count when applying an erratum
Description
Description of problem:
Web UI shows incorrect and large host count when applying errata through Web UI -> Content -> Content Types -> Errata page.
For example, if there are 10 applicable errata, it will show 100 host count (10 x 10) which is misleading.
How reproducible:
Easy
Is this issue a regression from an earlier version:
Yes
Steps to Reproduce:
1. Prepare 2 RHEL 9 VMs that need some patches.
2. Sync RHEL 9 baseos and appstreams repositories.
3. Create a rhel9 content view with date filter so the VMs will have some applicable errata but not installable errata, attach repos and publish it.
4. Register the VMs to the Satellite to the rhel9 CV.
5. Go to Web UI -> Content -> Content Types -> Errata page and select an erratum with 2 applicable hosts and 0 installable hosts. Follow the wizard to apply hosts.
Actual behavior:
The table shows 4 host count
Expected behavior:
Should be 2 host count
Updated by The Foreman Bot about 1 year ago
- Status changed from New to Ready For Testing
- Assignee set to Hao Yu
- Pull request https://github.com/Katello/katello/pull/11435 added
Updated by The Foreman Bot about 1 year ago
- Fixed in Releases Katello 4.18.0 added
Updated by Hao Yu about 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|24ab5f97fedd90a31eeed6ba42abebfdd3d0c895.