Bug #34736
closed
Filter API/ UI doesn't return errata, package group, module stream filter rules if repository has been removed from CV
Added by Samir Jha over 2 years ago.
Updated over 2 years ago.
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!
- Triaged changed from No to Yes
- 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
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.
- Bugzilla link set to 2073194
- Status changed from New to Ready For Testing
- Assignee set to Samir Jha
- Pull request https://github.com/Katello/katello/pull/10057 added
- Fixed in Releases Katello 4.5.0 added
- Status changed from Ready For Testing to Closed
- Pull request https://github.com/Katello/katello/pull/10073 added
Also available in: Atom
PDF