-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 8.10
-
Fix Version/s: 8.10-HF46, 9.10-HF33, 10.10-HF08, 11.1, 2021.0
-
Component/s: Query & PageProvider
Using the operators NOT LIKE and NOT ILIKE in search widgets throws this exception
Caused by: org.nuxeo.ecm.core.api.NuxeoException: Unsupported operator: NOT LIKE at org.nuxeo.ecm.platform.query.nxql.NXQLQueryBuilder.atomicQueryElement(NXQLQueryBuilder.java:496) at org.nuxeo.ecm.platform.query.nxql.NXQLQueryBuilder.getQueryElement(NXQLQueryBuilder.java:341) at org.nuxeo.ecm.platform.query.nxql.NXQLQueryBuilder.getQueryElement(NXQLQueryBuilder.java:150) at org.nuxeo.ecm.platform.query.nxql.NXQLQueryBuilder.getQuery(NXQLQueryBuilder.java:118) at org.nuxeo.ecm.platform.query.nxql.CoreQueryDocumentPageProvider.buildQuery(CoreQueryDocumentPageProvider.java:248) at org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider.getCurrentPage(ElasticSearchNxqlPageProvider.java:94) at org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider.getAggregates(ElasticSearchNxqlPageProvider.java:189)
A fix suggestion is attached to the ticket.