[
http://jira.nuxeo.org/browse/NXP-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florent Guillaume resolved NXP-3121.
------------------------------------
Resolution: Fixed
Done.
http://hg.nuxeo.org/nuxeo/nuxeo-core/rev/2a0ae516b6b8
For
foo STARTSWITH 'bar'
we generate
(foo = 'bar' OR foo LIKE 'bar/%')
> STARTWITH clause is no longer supported on fields other than ecm:path
> ---------------------------------------------------------------------
>
> Key: NXP-3121
> URL: http://jira.nuxeo.org/browse/NXP-3121
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Components: Core SQL Storage, Query / Search
> Reporter: Thierry Delprat
> Assignee: Florent Guillaume
> Fix For: 5.2 RC
>
>
> Typically "select * from Document where dc:coverage STARTSWITH 'europe'" does
> not work anymore
> =>
> org.nuxeo.ecm.core.storage.sql.QueryMaker$QueryMakerException: STARTSWITH
> requires ecm:pathas left argument
> Action : Change the QueryModel to automatically convert the query
> => "select * from Document where dc:coverage LIKE 'europe%'"
--
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