mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged 5.1.N (5.1.1) to HEAD (5.1)
120109 nsmintanca: Merged 5.0.N (5.0.4) to 5.1.N (5.1.1) 120046 abozianu: Merged DEV to 5.0.N (5.0.4) 117528 abozianu: MNT-14687 : Creating a document as checkedout and then cancelling the checkout should delete the document - added a new aspect for cmis checked out documents : ASPECT_CMIS_CHECKEDOUT 118441 abozianu: MNT-14687 : Creating a document as checkedout and then cancelling the checkout should delete the document - changed aspect name from ASPECT_CMIS_CHECKEDOUT to ASPECT_CMIS_CREATED_CHECKEDOUT 118775 abozianu: MNT-14687 : Creating a document as checkedout and then cancelling the checkout should delete the document - fixed commit error git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123614 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1447,9 +1447,8 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
|
||||
nodeService.addAspect(nodeRef, ContentModel.ASPECT_VERSIONABLE, null);
|
||||
}
|
||||
|
||||
Map<String, Serializable> versionProperties = new HashMap<String, Serializable>(5);
|
||||
versionProperties.put(VersionModel.PROP_VERSION_TYPE, VersionType.MAJOR);
|
||||
versionProperties.put(VersionModel.PROP_DESCRIPTION, "Initial Version");
|
||||
// MNT-14687 : Creating a document as checkedout and then cancelling the checkout should delete the document
|
||||
nodeService.addAspect(nodeRef, ContentModel.ASPECT_CMIS_CREATED_CHECKEDOUT, null);
|
||||
|
||||
getCheckOutCheckInService().checkout(nodeRef);
|
||||
}
|
||||
|
Reference in New Issue
Block a user