cancel
Showing results for 
Search instead for 
Did you mean: 

deleteTree fails when there is a private working copy

salocin
Champ in-the-making
Champ in-the-making
Hello, I am using an Alfresco 4.2.e server.
I have tried using OpenCMIS Workbench and the DotCMIS API to perform a deleteTree.
It fails when a private working copy exist.
Is this by design or a known issue (i couldn't find any reference)?

According to the CMIS specification, deleteTree takes this param:
Boolean allVersions: If TRUE (default), then delete all versions of the document.

The way I interpret this is that includes private working copies as well and that is also how it works for other repositories such as IBM CMIS.
2 REPLIES 2

mlagneaux
Champ on-the-rise
Champ on-the-rise
Hello,

I think this is by design. This behaviour is not specific to CMIS API. Even with admin user in Share, you can't delete a folder if it contains working copy because original nodes are locked.

salocin
Champ in-the-making
Champ in-the-making
Thanks for the reply!