mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-15 15:02:20 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
101750: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud) 101639: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2) 101402: MNT-10032 : CMIS: "delete" action with unchecked "delete all version" checkbox. - Revert document to previous version on deleteObject with AllVersions unchecked. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@101852 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1660,6 +1660,8 @@ public class AlfrescoCmisServiceImpl extends AbstractCmisService implements Alfr
|
||||
else
|
||||
{
|
||||
connector.getVersionService().deleteVersion(nodeRef, version);
|
||||
// MNT-10032 revert node version to predecessor
|
||||
connector.getVersionService().revert(nodeRef);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user