-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0
-
Fix Version/s: 1.1
-
Component/s: Resources Endpoint
- go to http://nuxeo.github.io/api-playground/#/resources/query/1/GET
- copy paste this query
SELECT * FROM Document WHERE ecm:path STARTSWITH '/default-domain/sections/Locations & Contacts'
This gives an error like
{"entity-type":"exception","code":"org.nuxeo.ecm.webengine.WebException","status":400,"message":"Failed to execute query: SELECT * FROM Document WHERE ecm:path STARTSWITH '/default-domain/sections/Locations, Syntax error: Invalid token <null> at offset -1"}
Nonetheless the following link works fine:
http://nuxeo.github.io/api-playground/#/commands/Repository.Query
using the following query:
SELECT * FROM Document WHERE ecm:path STARTSWITH '/default-domain/sections/Locations & Contacts'