mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Add sys:temporary aspect to surf config file before it is deleted
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28907 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -407,7 +407,9 @@ public class ADMRemoteStore extends BaseRemoteStore
|
||||
|
||||
try
|
||||
{
|
||||
this.nodeService.deleteNode(fileInfo.getNodeRef());
|
||||
final NodeRef fileRef = fileInfo.getNodeRef();
|
||||
this.nodeService.addAspect(fileRef, ContentModel.ASPECT_TEMPORARY, null);
|
||||
this.nodeService.deleteNode(fileRef);
|
||||
if (logger.isDebugEnabled())
|
||||
logger.debug("deleteDocument: " + fileInfo.toString());
|
||||
}
|
||||
|
Reference in New Issue
Block a user