I'm trying to use a portlet using automation client to access the repository using PORTAL_AUTH.
Login is fine (/nuxeo/site/automation/login) but the query sent by the client goes wrong (/nuxeo/site/automation/Document.PageProvider).
Here is what the automation traces say :
****** chain ******
Name: Document.PageProvider
Produced output type: PaginableDocumentModelListImpl
****** Hierarchy calls ******
org.nuxeo.ecm.automation.core.operations.services.DocumentPageProviderOperation
****** Document.PageProvider ******
Chain ID: No bound to a chain
Class: DocumentPageProviderOperation
Method: 'run' | Input Type: void | Output Type: class org.nuxeo.ecm.automation.jaxrs.io.documents.PaginableDocumentModelListImpl
Input: null
Context Variables | Key: request, Value: org.nuxeo.ecm.webengine.app.jersey.WebEngineServlet$DefaultContentTypeRequestWrapper@2909b94b | Key: ChainParameters, Value: {page=0, query=SELECT * FROM Document WHERE ecm:path STARTSWITH '/default-domain/workspaces/', pageSize=20}
What's the problem with this missing chain ID ?
I ve got nothing in server.log.