Project

General

Profile

Actions

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.

Status:
Closed
Priority:
High
Assignee:
Category:
Content Views
Target version:
Fixed in Releases:
Found in Releases:

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!

Actions #1

Updated by Partha Aji over 2 years ago

  • Triaged changed from No to Yes
Actions #2

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
Actions #3

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.

Actions #4

Updated by Samir Jha over 2 years ago

  • Bugzilla link set to 2073194
Actions #5

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
Actions #6

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 4.5.0 added
Actions #7

Updated by Samir Jha over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #8

Updated by The Foreman Bot over 2 years ago

  • Pull request https://github.com/Katello/katello/pull/10073 added
Actions

Also available in: Atom PDF