mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
MNT-13097 content reverted as well to head version if you delete last version of node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133813 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1366,7 +1366,12 @@ public class Version2ServiceImpl extends VersionServiceImpl implements VersionSe
|
||||
try
|
||||
{
|
||||
// Create the restored node
|
||||
restoredNodeRef = this.nodeService.createNode(parentNodeRef, assocTypeQName, assocQName, type, props).getChildRef();
|
||||
restoredNodeRef = this.nodeService.createNode(
|
||||
parentNodeRef,
|
||||
assocTypeQName,
|
||||
assocQName,
|
||||
type,
|
||||
props).getChildRef();
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
Reference in New Issue
Block a user