01-28-2014 11:45 AM
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.
01-29-2014 05:40 AM
it seems this not the cause of my problems : Chain ID is only mentionned when ... a chain is run
In this case, the raw operation is usedn not within a chain.
01-29-2014 06:15 AM
It says that you call one operation and not a chain containing operations.
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.