Bug #10681
Installable errata is not listed in Content -> Errata page
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1226997
Description of problem:
Installable errata is not listed in Content -> Errata page
Version-Release number of selected component (if applicable):
Satellite 6.1 GA Snap 6
How reproducible:
Always
Steps to Reproduce:
1. Sync few products, register few content hosts
2. Navigate to Content > errata page and try to filter the following: Installable errata for a repo
- Applicable and Installable errata for a repo
Actual results:
No results are returned for both the mentioned scenarios
Expected results:
I have installable errata for the selected repo which should be displayed.
Additional info:
This failed in CLI too:
failed:
hammer> erratum list --organization-id=3 --repository-id=6 --errata-restrict-applicable=false --errata-restrict-installable=true
---|-----------|------|------
ID | ERRATA ID | TYPE | TITLE
---|-----------|------|------
failed:
hammer> erratum list --organization-id=3 --repository-id=6 --errata-restrict-applicable=true --errata-restrict-installable=true
---|-----------|------|------
ID | ERRATA ID | TYPE | TITLE
---|-----------|------|------
hammer> erratum list --organization-id=3 --repository-id=6 --errata-restrict-applicable=true --errata-restrict-installable=false
- This displayed errata info as expected **
hammer> erratum list --organization-id=3 --errata-restrict-applicable=true --errata-restrict-installable=true
- This displayed errata info as expected **
Associated revisions
History
#1
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5267 added
- Pull request deleted (
)
#2
Updated by Walden Raines almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|fcd7bcc806015514fc76215597d393d985919da3.
#3
Updated by Eric Helms almost 8 years ago
- Legacy Backlogs Release (now unused) set to 31
- Triaged changed from No to Yes
Fixes #10681: show correct installable count BZ 1226997.
The installable count was incorrect when a repository was
provided becuase the query was incorrect. This commit
fixes the query for systems when a repository is provided.
In addition, this commit prevents only installable from
being selected (as installable is a subset of applicable)
and shows a tooltip in that case.
http://projects.theforeman.org/issues/10681
https://bugzilla.redhat.com/show_bug.cgi?id=1226997