Actions
Bug #188
closedFact, Class, State combined filter doesn't work
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
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)
Actions