Actions
Bug #29493
closedCan't search Hosts/Hostgroup by Parameter
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Host groups
Target version:
-
Description
If I try to search a host or hostgroup by a paramter like:
has params.myparameter
This gives me in the hosts section the following error:
undefined method `table_name' for nil:NilClass
and in the host group search the following error:
Invalid search query: Field 'params.myparam' not recognized for searching!
We are running foreman version 1.24.2.
If you need any further information, just let me know.
Updated by Lars Wagner over 4 years ago
- Related to Bug #29683: Unable to search by value of certain Hostgroup parameter added
Updated by Lars Wagner almost 4 years ago
The error is still the same on the latest foreman release 2.3.3. Might somebody be able to have a look into it? The problem is the same for the host and hostgroup search:
undefined method `table_name' for nil:NilClass
Updated by Lars Wagner almost 4 years ago
- Status changed from New to Resolved
Parameters can be search liked that:
params.myparam != ""
Actions