PG::Error: ERROR: missing FROM-clause entry for table "katello_host_collections

Solution Unverified - Updated -

Issue

Satellite 6.2.4 dashboard showing the below error when select "~" user role in filter logic.

PG::Error: ERROR: missing FROM-clause entry for table "katello_host_collections"
 LINE 1:
 ...id" IN (1) AND "hosts"."location_id" IN (2) AND (("katello_h... ^ :
 SELECT COUNT(count_column)
 FROM
 (SELECT 1 AS count_column FROM "katello_errata"
          INNER JOIN "katello_content_facet_errata" ON "katello_content_facet_errata"."erratum_id" = "katello_errata"."id" 
          INNER JOIN "katello_content_facets" ON "katello_content_facets"."id" = "katello_content_facet_errata"."content_facet_id"
               WHERE "katello_content_facets"."host_id" IN
                       (SELECT "hosts"."id" FROM "hosts" WHERE "hosts"."type"
                           IN ('Host::Managed') AND "hosts"."organization_id"
                           IN (1) AND "hosts"."location_id" IN (2) AND (("katello_host_collections"."name" ILIKE '%Test Hostcollection 1%'))) LIMIT 6)
                      subquery_for_count

Environment

Red Hat Satellite 6.2.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content