Project

General

Profile

Actions

Bug #13611

closed

Error from search bar are not displayed in UI

Added by François ARMAND about 6 years ago. Updated about 1 year ago.

Status:
Rejected
Priority:
N/A
Category:
Web - UI & UX
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
0
Name check:
Fix check:
Regression:
No

Description

If you enter a bad filter (for ex: "foo is:foo") in the search bar in top level, you get an error in logs:

[2018-10-05 09:55:38] ERROR com.normation.rudder.rest.RestUtils - "Error when looking for object containing foo is:foo <- Query containts unknown filter. Please choose among 'Common', 'Commons', 'Directive', 'Directives', 'Group', 'Groups', 'Node', 'Nodes', 'Parameter', 'Parameters', 'Rule', 'Rules', 'arch', 'architecture', 'description', 'descriptions', 'dir_param', 'dir_param_name', 'dir_param_value', 'dir_parameter', 'dir_parameters', 'dir_value', 'directive_id', 'directiveid', 'directiveids', 'directives', 'display_name', 'displayname', 'dynamic', 'enabled', 'fqdn', 'group', 'group_id', 'groupid', 'groups', 'hostname', 'id', 'ids', 'ip', 'ips', 'kernel', 'long_description', 'memory', 'name', 'networkips', 'node.props', 'node_id', 'node_properties', 'nodeid', 'nodeproperties', 'nodeprops', 'nodestate', 'os', 'os_kernel_version', 'os_name', 'os_service_pack', 'os_type', 'os_version', 'osfullname', 'oskernel', 'oskernelversion', 'osname', 'osservicepack', 'ossp', 'ostype', 'osversion', 'param', 'param_name', 'param_value', 'parameter', 'parameter_name', 'parameter_value', 'parametername', 'parameters', 'parametervalue', 'paramname', 'paramvalue', 'policy_server_id', 'policyserver', 'properties', 'ram', 'role', 'roles', 'rudder_roles', 'rule_id', 'ruleid', 'serverrole', 'serverroles', 'servicepack', 'sp', 'state', 'tag', 'tagkeys', 'tags', 'tagvalues', 'target', 'technique', 'technique_id', 'technique_name', 'technique_version', 'techniqueid', 'techniquename', 'value', 'version' <- Check 'is' filters <- Some filters are not know: Set(foo)" 

First, I'm not sure that that error should ge to the log. But I'm sure that that error should come back to the UI, and it doesn't.


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #23402: In quicksearch, query error are not displayed which leads to infinite loading resultReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF