mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
CrossRepositoryCopyService now can copy from AVM to Repo.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5025 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -237,6 +237,10 @@ public class AVMServiceTest extends AVMServiceTestBase
|
||||
desc = fService.lookup(-1, "main:/Guest Home");
|
||||
assertTrue(desc.isDirectory());
|
||||
System.out.println(this.recursiveList("main", -1, true));
|
||||
copyService.copy(AVMNodeConverter.ToNodeRef(-1, "main:/a"), toCopy.getFirst(), "a");
|
||||
Pair<NodeRef, Boolean> theCopy = remoteService.lookup(toCopy.getFirst(), "a");
|
||||
assertTrue(theCopy.getSecond());
|
||||
remoteService.removeNode(theCopy.getFirst());
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user