Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
26.0.0
-
None
-
Security Level: Default (Default Security Scheme)
-
None
-
Horizon 2020 - Feb 5th
Description
To reproduce, search for anything like:
The karaf log then displays an exception that looks like:
00:34:42.032 ERROR [qtp938364039-3173] Cannot parse expression: thisisatest: Filter Parse Exception oc curred testing rule "thisisatest" for matching results: Could not find the column 'thisisatest' in fil ter rule org.opennms.netmgt.filter.api.FilterParseException: Filter Parse Exception occurred testing rule "this isatest" for matching results: Could not find the column 'thisisatest' in filter rule at org.opennms.netmgt.filter.JdbcFilterDao.isRuleMatching(JdbcFilterDao.java:422) ~[?:?] at org.opennms.netmgt.filter.JdbcFilterDao.validateRule(JdbcFilterDao.java:441) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:? ] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) ~[?:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMeth odInvocation.java:190) ~[?:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvoca tion.java:157) ~[?:?] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[?:?] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransactio n(TransactionAspectSupport.java:281) ~[?:?] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterc eptor.java:96) ~[?:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvoca tion.java:179) ~[?:?] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) ~[ ?:?] at com.sun.proxy.$Proxy126.validateRule(Unknown Source) ~[?:?] at Proxy52280d57_ae2c_449e_931a_df93c0049f51.validateRule(Unknown Source) ~[?:?] at org.opennms.netmgt.search.providers.FilterSearchProvider.query(FilterSearchProvider.java:69 ) [305:org.opennms.features.search.providers:26.0.0.SNAPSHOT] at org.opennms.netmgt.search.service.DefaultSearchService.query(DefaultSearchService.java:84)