You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Brendan Curran (JIRA)" <ji...@apache.org> on 2015/08/05 19:43:04 UTC

[jira] [Commented] (OAK-118) Implement workspace handling

    [ https://issues.apache.org/jira/browse/OAK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14658570#comment-14658570 ] 

Brendan Curran commented on OAK-118:
------------------------------------

Can I spin up 2 workspaces on 2 DB engine implementations (derby and MongoDB) - each named "default" and clone a tree of nodes from one to the other?

Currently I'm doing this: 
workspace.clone("default" , node.getPath(), "/b", false);

Which tries to clone the node to the first workspace as a duplicate, instead of cloning to the 2nd workspace and throws the following error: 
Repository exception found with node: Adding a shareable node with id (nodepathhere) twice to the same parent is not supported.

How can I clone from one workspace to another using Oak?


> Implement workspace handling
> ----------------------------
>
>                 Key: OAK-118
>                 URL: https://issues.apache.org/jira/browse/OAK-118
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core, jcr
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>
> Currently workspace handling is not implemented at all. All operations are implicitly resolved against the 'default' workspace which provisionally set up in {{ContentRepositoryImpl}}. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)