theforeman/foreman · error · GraphQL::ExecutionError
#{taxonomy_class.name} could not be found my name #{name}.
Error message
#{taxonomy_class.name} could not be found my name #{name}. What it means
Error "#{taxonomy_class.name} could not be found my name #{name}." thrown in theforeman/foreman.
Source
Thrown at app/graphql/resolvers/concerns/collection.rb:123
elsif organization.present?
taxonomy_ids << resolve_taxonomy_name_to_id(Organization, organization)
end
taxonomy_ids.uniq
end
def resolve_taxonomy_global_id(taxonomy_class, global_id)
taxonomy_name = taxonomy_class.name
_, type_name, id = Foreman::GlobalId.decode(global_id)
raise GraphQL::ExecutionError.new("Global ID for #{taxonomy_name} filter is for other graphql type (expected '#{taxonomy_name}', got '#{type_name}')") unless taxonomy_name == type_name
id.to_i
end
def resolve_taxonomy_name_to_id(taxonomy_class, taxonomy_name)
id = taxonomy_class.find_by(name: taxonomy_name)
raise GraphQL::ExecutionError.new("#{taxonomy_class.name} could not be found my name #{name}.") unless id
id
end
class_methods do
def has_taxonomix?
self::MODEL_CLASS.include?(Taxonomix)
end
end
end
end
end
View on GitHub (pinned to 6b05625475)
When it happens
Trigger: Thrown at app/graphql/resolvers/concerns/collection.rb:123 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of theforeman/foreman@6b05625475 (2026-08-23).
Data as JSON: /api/errors/c3047cf714d9727e.
Report an issue: GitHub.