Project

General

Profile

Actions

Bug #24986

closed

Unit test failure on host full search

Added by Justin Sherrill over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

ScopedSearch::QueryNotSupported: external method 'find_by_subscription_id' failed with error: PG::InvalidTextRepresentation: ERROR: invalid input syntax for integer: "host343"
LINE 1: ..._facet_pools"."pool_id" WHERE (katello_pools.id = 'host343')...
^
: SELECT 1 AS one FROM "katello_subscription_facets" INNER JOIN "katello_subscription_facet_pools" ON "katello_subscription_facet_pools"."subscription_facet_id" = "katello_subscription_facets"."id" INNER JOIN "katello_pools" ON "katello_pools"."id" = "katello_subscription_facet_pools"."pool_id" WHERE (katello_pools.id = 'host343') LIMIT $1
app/models/host.rb:15:in `method_missing'
/var/lib/workspace/workspace/katello-pr-test/test/models/concerns/host_managed_extensions_test.rb:32:in `test_full_text_search' (ScopedSearch::QueryNotSupported)
/usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-3167/gems/scoped_search-4.1.5/lib/scoped_search/query_builder.rb:408

Actions

Also available in: Atom PDF