Using ILIKE operator in predicate clause of querymodel-contrib.xml will trigger 
a client exception for unknown operator
-----------------------------------------------------------------------------------------------------------------------

                 Key: NXP-4678
                 URL: https://jira.nuxeo.org/browse/NXP-4678
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
          Components: Search / Query
    Affects Versions: 5.3.1
            Reporter: Brian Zoller
            Priority: Major


The ILIKE keyword was recently introduced into an earlier 5.3.1 build, however, 
the PredicateDescriptor class does not acknowledge the ILIKE operator.   Doing 
so triggers a ClientException with the message of Unknown Operator: ILIKE

Steps to reproduce:
1. In a querymodel-contrib.xml use a predicate consistent with the following:
<predicate parameter="dc:description" operator="ILIKE">
2. Attempt to run a query based on the predicate in step 1.
3. ClientException thrown from nuxeo:

org.nuxeo.ecm.core.api.ClientException: Unsupported operator: ILIKE
        at 
org.nuxeo.ecm.core.search.api.client.querymodel.descriptor.PredicateDescriptor.atomicQueryElement(PredicateDescriptor.java:214)
        at 
org.nuxeo.ecm.core.search.api.client.querymodel.descriptor.PredicateDescriptor.getQueryElement(PredicateDescriptor.java:73)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to