No bound to a chain

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.

0 votes

1 answers

1179 views

ANSWER

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

You should see the Automation documentation if you need to access remotely to a Nuxeo repository (http://doc.nuxeo.com/display/NXDOC/Content+Automation)

Related to the traces, here is the documentation (you can activate more traces if you want): http://doc.nuxeo.com/display/NXDOC/Automation+Tracing

What's going wrong? Do you have other logs? Can you explain what is your problem after logging in?

01/29/2014



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.

0 votes