cancel
Showing results for 
Search instead for 
Did you mean: 

No bound to a chain

pibou_Bouvret
Elite Collaborator
Elite Collaborator

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.

2 REPLIES 2

pibou_Bouvret
Elite Collaborator
Elite Collaborator

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.

Vladimir_Pasqui
Star Collaborator
Star Collaborator

It says that you call one operation and not a chain containing operations.