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.2)
122488 amorarasu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.1) (PARTIAL MERGE) 122474 rneamtu: Merged DEV to 5.0.N (5.0.4) 122425 rneamtu: MNT-14687 : Creating a document as checkedout and then cancelling the checkout should delete the document - fixed cancel editing and delete failures git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123669 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -719,6 +719,7 @@ public class CheckOutCheckInServiceImpl implements CheckOutCheckInService,Extens
|
||||
|
||||
behaviourFilter.disableBehaviour(nodeRef, ContentModel.ASPECT_AUDITABLE);
|
||||
behaviourFilter.disableBehaviour(workingCopyNodeRef, ContentModel.ASPECT_WORKING_COPY);
|
||||
behaviourFilter.disableBehaviour(nodeRef, ContentModel.ASPECT_CMIS_CREATED_CHECKEDOUT);
|
||||
try
|
||||
{
|
||||
if (nodeService.hasAspect(nodeRef, ContentModel.ASPECT_LOCKABLE))
|
||||
@@ -746,6 +747,7 @@ public class CheckOutCheckInServiceImpl implements CheckOutCheckInService,Extens
|
||||
finally
|
||||
{
|
||||
behaviourFilter.enableBehaviour(nodeRef, ContentModel.ASPECT_AUDITABLE);
|
||||
behaviourFilter.enableBehaviour(nodeRef, ContentModel.ASPECT_CMIS_CREATED_CHECKEDOUT);
|
||||
}
|
||||
|
||||
return nodeRef;
|
||||
|
Reference in New Issue
Block a user