automation ResultSetQuery

I'm trying to use a ResultSetQuery automation as follows:
curl -d '{"params":{"language":"CMIS","query":"select * from cmis:document" etc... -X POST http://localhost:8080/nuxeo/site/automation/Repository.ResultSetQuery
When I trace into the ResultSetPaginatedQuery class, it eventually tries to exec the query but it assumes it is NXQL. The lang property that is mapped into the class from the params field never gets put into the properties collection and passed down to the PaginableRecordSetImpl class - and so from there on down the code treats the query as NXQL. Why is the language parameter supported in the interface but not in the internals? Thanks

0 votes

1 answers

373 views

ANSWER



Thanks, I opened the ticket https://jira.nuxeo.com/browse/NXP-23105 to track this issue.

0 votes