Bug #34736
closedFilter API/ UI doesn't return errata, package group, module stream filter rules if repository has been removed from CV
Description
katello/api/v2/errata?show_all_for=content_view_filter&filter_id=ID&include_filter_ids=true&per_page=20&page=1&search=&types[]=enhancement&types[]=security&types[]=bugfix&date_type=issued excludes added errata if it doesn't belong to any repo in the CV.
Steps to reproduce.
1. Sync a repo with errata.
2. Create a CV and add the repo to it.
3. Create an errata filter, add any errata from the synced repo to the filter.
4. Remove repo from CV.
5. The Errata filter does not show the added errata from the repo although it is still applied in the backend.
This can be very confusing!
Updated by Samir Jha over 2 years ago
- Subject changed from Filter API doesn't return errata filter rules if repository has been removed from CV to Filter API/ UI doesn't return errata, package group, module stream filter rules if repository has been removed from CV
Updated by Samir Jha over 2 years ago
Samir Jha wrote:
katello/api/v2/errata?show_all_for=content_view_filter&filter_id=ID&include_filter_ids=true&per_page=20&page=1&search=&types[]=enhancement&types[]=security&types[]=bugfix&date_type=issued excludes added errata if it doesn't belong to any repo in the CV.
Steps to reproduce.
1. Sync a repo with errata.
2. Create a CV and add the repo to it.
3. Create an errata filter, add any errata from the synced repo to the filter.
4. Remove repo from CV.
5. The Errata filter does not show the added errata from the repo although it is still applied in the backend.This can be very confusing!
You can reproduce with module streams and package groups as well.
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Samir Jha
- Pull request https://github.com/Katello/katello/pull/10057 added
Updated by The Foreman Bot over 2 years ago
- Fixed in Releases Katello 4.5.0 added
Updated by Samir Jha over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|7c2cb9c8b8b324bbd816fbb72ed4c3690fe67c96.
Updated by The Foreman Bot over 2 years ago
- Pull request https://github.com/Katello/katello/pull/10073 added