Bug #31445
closedWhen deleting a content view version, all hosts have been listed as affected even hosts are not using it
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1872161
Description of problem:
When deleting a content view version, all hosts have been listed as affected even hosts are not assigned to it.
Version-Release number of selected component (if applicable):
6.7
How reproducible:
When there is at least one affected host
Steps to Reproduce:
1. Create a content view and publish it to an environment
2. Assign a couple of hosts to the content view
3. Delete the content view version through the web ui
Content -> Content Views -> the CV -> Versions tab -> Remove the latest version.
4. Check "Completely remove version?" checkbox to delete the version completely and click "Next" button.
5. In the "Content Hosts using Version" page click the "Show affected Content Hosts" link to show all affected hosts
Actual results:
All hosts are listed
Expected results:
Only affected hosts are listed
Updated by The Foreman Bot about 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Justin Sherrill
- Pull request https://github.com/Katello/katello/pull/9064 added
Updated by The Foreman Bot about 4 years ago
- Fixed in Releases Katello 4.0.0 added
Updated by Justin Sherrill about 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|54812395cc997e140e8f9f22a64fa43fa5162f2d.