mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged BRANCHES/DEV/CLOUD1-BUG-FIX to HEAD:
42884: ALF-1059 / CLOUD-469: Post activities for folder(s) add + delete git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@42891 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -363,12 +363,14 @@ public class PutMethod extends WebDAVMethod implements ActivityPostProducer
|
||||
if (!getNodeService().hasAspect(nodeRef, ContentModel.ASPECT_HIDDEN))
|
||||
{
|
||||
if (isCreated())
|
||||
{
|
||||
activityPoster.postFileAdded(siteId, tenantDomain, contentNodeInfo);
|
||||
{
|
||||
// file added
|
||||
activityPoster.postFileFolderAdded(siteId, tenantDomain, null, contentNodeInfo);
|
||||
}
|
||||
else
|
||||
{
|
||||
activityPoster.postFileUpdated(siteId, tenantDomain, contentNodeInfo);
|
||||
{
|
||||
// file updated
|
||||
activityPoster.postFileFolderUpdated(siteId, tenantDomain, contentNodeInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user