Project

General

Profile

Actions

Bug #24986

closed

Unit test failure on host full search

Added by Justin Sherrill about 6 years ago. Updated about 6 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 #1

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
Actions #2

Updated by Andrew Kofink about 6 years ago

  • Target version set to Katello 3.9.0
  • Triaged changed from No to Yes
Actions #3

Updated by Justin Sherrill about 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Jonathon Turel about 6 years ago

  • Target version changed from Katello 3.9.0 to Katello 3.7.1
Actions

Also available in: Atom PDF