As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I'm trying to use a ResultSetQuery automation as follows: curl -d '{"params":{"language":"CMIS","query":"select * from cmis:document" etc... -X POST <a href="http://localhost:8080/nuxeo/site/automation/Repository.ResultSetQuery" target="test_blank" rel="nofollow noopener noreferrer">http://localhost:8080/nuxeo/site/automation/Repository.ResultSetQuery</a> 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
ResultSetQuery
curl -d '{"params":{"language":"CMIS","query":"select * from cmis:document" etc... -X POST <a href="http://localhost:8080/nuxeo/site/automation/Repository.ResultSetQuery" target="test_blank" rel="nofollow noopener noreferrer">http://localhost:8080/nuxeo/site/automation/Repository.ResultSetQuery</a>
ResultSetPaginatedQuery
lang
params
PaginableRecordSetImpl
Thanks, I opened the ticket https://jira.nuxeo.com/browse/NXP-23105 to track this issue.