Project

General

Profile

Bug #10681

Installable errata is not listed in Content -> Errata page

Added by Walden Raines over 6 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

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
---|-----------|------|------

passed:
hammer> erratum list --organization-id=3 --repository-id=6 --errata-restrict-applicable=true --errata-restrict-installable=false
  • This displayed errata info as expected **
passed: (without repository id)
hammer> erratum list --organization-id=3 --errata-restrict-applicable=true --errata-restrict-installable=true
  • This displayed errata info as expected **

Associated revisions

Revision fcd7bcc8 (diff)
Added by Walden Raines over 6 years ago

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

Revision b17759cc
Added by Walden Raines over 6 years ago

Merge pull request #5267 from waldenraines/10681

Fixes #10681: show correct installable count BZ 1226997.

History

#1 Updated by The Foreman Bot over 6 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 over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Eric Helms over 6 years ago

  • Legacy Backlogs Release (now unused) set to 31
  • Triaged changed from No to Yes

Also available in: Atom PDF