Bug #24986
closedUnit test failure on host full search
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
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7711 added
Updated by Andrew Kofink about 6 years ago
- Target version set to Katello 3.9.0
- Triaged changed from No to Yes
Updated by Justin Sherrill about 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|82d5494cf9cd68e69fa2cf7b90c275892c0a6fdc.
Updated by Jonathon Turel about 6 years ago
- Target version changed from Katello 3.9.0 to Katello 3.7.1