Project

General

Profile

Actions

Bug #188

closed

Fact, Class, State combined filter doesn't work

Added by Dis Connect about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

irb(main):006:0> gethosts(query = { "fact" => { "kernel" => "Linux" }, "state" => "all"}).length
=> 205
irb(main):007:0> gethosts(query = { "fact" => { "kernel" => "Linux" }, "class" => "memcached" , "state" => "all"}).length
NoMethodError: undefined method `length' for nil:NilClass
from (irb):7

(web UI still shows 15 hosts that should match that test)


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Refactor #191: Query should return all hosts, not just recent.ClosedOhad LevyActions
Actions

Also available in: Atom PDF