Project

General

Profile

Actions

Bug #38746

open

ContentFacet#find_by_installable_rpms finds applicable rpms, not installable

Added by Jeremy Lenz about 2 months ago. Updated 29 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

(This is similar to https://projects.theforeman.org/issues/38824 but not the same issue)

One would suppose that, given a host with different numbers of applicable and installable packages, a search for 'has installable_rpms' and 'has applicable_rpms' would have different results. However, the two searches have the same results.

https://github.com/Katello/katello/blob/8dc78dd030b51729faf5eb81b30278dee2d9ced7/app/models/katello/host/content_facet.rb#L379-L382

The issue might be that `joins_installable_rpms` searches Katello::ContentFacetApplicableRpm.

see discussion: https://community.theforeman.org/t/hosts-match-has-upgradable-rpms-but-have-no-upgradable-rpms/44387/7?u=jeremylenz

Actions #1

Updated by Jeremy Lenz about 2 months ago

  • Description updated (diff)
Actions #2

Updated by Quinn James about 2 months ago

  • Triaged changed from No to Yes
Actions #3

Updated by Partha Aji about 2 months ago

  • Red Hat JIRA set to SAT-38720
Actions #4

Updated by Jeremy Lenz 29 days ago

  • Description updated (diff)
Actions

Also available in: Atom PDF