10-11-2012 07:29 AM
I am trying to execute this query with CoreSession:
CoreSession.query( "select * from Document where dc:title = 'document\' and ecm:currentLifeCycleState <> 'deleted'" )
The \ is making the query crash. If I put the \ in any other position than at the end it works. I also have tried to escape the title value with NXQLQueryBuilder.prepareStringLiteral() with it doesn't do anything. Any idea about how to execute this query or could be a Nuxeo bug?
10-11-2012 10:40 AM
Have you tried a double backslash just before the single quote?
10-11-2012 10:57 AM
Yes, it also fails.
10-18-2012 12:15 PM
Thanks for the report, it's a bug in the parser. A ticket has been entered: NXP-10340. You can Watch the ticket to be notified when a fix is done.
10-18-2012 12:25 PM
Thanks, I will wait for the fix.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.