-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 8.3-SNAPSHOT
-
Fix Version/s: 8.3
-
Component/s: Automation
-
Tags:
-
Sprint:nxGang Sprint 8.3.6
In Nuxeo Studio, create the following chain:
- Seam.GetCurrentDocument - Document.CopySchema: schema: dublincore sourceId: Document.domain.id
- Associate it to a user action
- Deploy and launch it
=> the chain is executed but the information is not updated
****** chain ****** Name: HelloWorldOperationChain Produced output type: DocumentModelImpl ****** Hierarchy calls ****** org.nuxeo.ecm.automation.jsf.operations.GetCurrentDocument org.nuxeo.ecm.automation.core.operations.document.CopySchema ****** Seam.GetCurrentDocument ****** Chain ID: HelloWorldOperationChain Chain Aliases: [] Class: GetCurrentDocument Method: 'run' | Input Type: void | Output Type: interface org.nuxeo.ecm.core.api.DocumentModel Input: DocumentModelImpl(423762f1-74e4-45d0-b4ad-71665c432697, path=/default-domain/workspaces/Ze Zorkspace/Bouarf File, title=Domain) Context Variables | Key: isChainExecution, Value: true | Key: ChainParameters, Value: {} ****** Document.CopySchema ****** Chain ID: HelloWorldOperationChain Chain Aliases: [] Class: CopySchema Method: 'run' | Input Type: interface org.nuxeo.ecm.core.api.DocumentModel | Output Type: interface org.nuxeo.ecm.core.api.DocumentModel Input: DocumentModelImpl(423762f1-74e4-45d0-b4ad-71665c432697, path=/default-domain/workspaces/Ze Zorkspace/Bouarf File, title=Domain) Parameters | Name: schema, Value: dublincore | Name: sourceId, Value: Expr:(id=sourceId | value=74949f19-f174-4bee-89e4-8b27516feec4) Context Variables | Key: isChainExecution, Value: true | Key: ChainParameters, Value: {}
A Document.Save operation needs to be added to the chain to see the actual result.