[
http://jira.nuxeo.org/browse/NXP-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Georges Racinet updated NXP-1986:
---------------------------------
Deliverable: [Code + unit test]
Fix Version/s: (was: 5.1.3)
Cloned ticket for the trunk: we need to merge 29572
> TRUNK -crash parsing WHERE NOT ecm:path STARTSWITH '/some/path'
> ---------------------------------------------------------------
>
> Key: NXP-1986
> URL: http://jira.nuxeo.org/browse/NXP-1986
> Project: Nuxeo Enterprise Platform 5
> Issue Type: Bug
> Components: Query / Search
> Reporter: Georges Racinet
> Assignee: Georges Racinet
> Priority: Major
> Fix For: 5.2 M1
>
> Original Estimate: 3 days
> Remaining Estimate: 3 days
>
> Go to the /nuxeo/search/search_form.faces view as Administrator and type the
> following NXQL query:
> SELECT * FROM Document WHERE NOT ecm:path STARTSWITH '/some/path'
> You will get the following error:
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception:
> java.lang.ClassCastException. message:
> org.nuxeo.ecm.core.query.sql.model.Predicate
> at
> org.nuxeo.ecm.core.search.backend.compass.QueryConverter.wherePredicate(QueryConverter.java:662)
> at
> org.nuxeo.ecm.core.search.backend.compass.QueryConverter.whereClause(QueryConverter.java:152)
> at
> org.nuxeo.ecm.core.search.backend.compass.QueryConverter.toCompassQuery(QueryConverter.java:105)
> at
> org.nuxeo.ecm.core.search.backend.compass.CompassBackend.searchQuery(CompassBackend.java:436)
> at
> org.nuxeo.ecm.core.search.backend.compass.CompassBackend.searchQuery(CompassBackend.java:423)
> at
> org.nuxeo.ecm.core.search.service.SearchServiceImpl.searchQuery(SearchServiceImpl.java:629)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://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