Bug #36577
closedFilter gets applied to all the repositories upon removal of the repository for which the filter was created
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2159706
Description of problem:
When setting up a content view and applying a filter that only applies to particular repositories, everything goes fine until you delete the repositories that the filter is applied to. In the absence of any filters, Satellite assumes that you want the filter to apply to all repositories as opposed to leaving the filter as applying to no repositories.
Version-Release number of selected component (if applicable):
6.11.4
How reproducible:
everytime
Steps to Reproduce:
create a CV and create a filter to apply on a single repo from the CV.
Publish the CV
Now, remove the repo on which the filter was applied, it assumes that the filter is to be applied on all remaining repositories.
Actual results:
Filter applied to all repos. it has been changed to "Apply to all repositories in the CV" from "Apply to subset of repositories"
Expected results:
No filter should be applied
Additional info:
Updated by The Foreman Bot over 1 year ago
- Status changed from New to Ready For Testing
- Assignee set to Samir Jha
- Pull request https://github.com/Katello/katello/pull/10640 added
Updated by Chris Roberts over 1 year ago
- Subject changed from Filter gets applied to all the repository upon removal of repository for which the filter was created. to Filter gets applied to all the repository upon removal of repository for which the filter was created.
- Target version set to Katello 4.10.0
- Triaged changed from No to Yes
Updated by The Foreman Bot over 1 year ago
- Fixed in Releases Katello 4.10.0 added
Updated by Samir Jha over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|49a55b142600866ac9e384b4230e91a7c2e03960.
Updated by William Clark about 1 year ago
- Target version changed from Katello 4.10.0 to Katello 4.9.2
Updated by The Foreman Bot about 1 year ago
- Pull request https://github.com/Katello/katello/pull/10754 added
Updated by The Foreman Bot about 1 year ago
- Pull request deleted (
https://github.com/Katello/katello/pull/10640, https://github.com/Katello/katello/pull/10754)
Updated by The Foreman Bot about 1 year ago
- Fixed in Releases Katello 4.9.2 added
Updated by David Moore about 1 year ago
- Subject changed from Filter gets applied to all the repository upon removal of repository for which the filter was created. to Filter gets applied to all the repositories upon removal of the repository for which the filter was created
Updated by Samir Jha about 1 year ago
- Pull request https://github.com/Katello/katello/pull/10640 added