mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
127312 jkaabimofrad: SFS-577, SFS-581: Fixed the shared-link no-auth APIs issue with multi-tenancy. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127316 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -230,15 +230,13 @@ public class QuickShareLinksImpl implements QuickShareLinks, InitializingBean
|
||||
throw new InvalidNodeRefException(nodeRef);
|
||||
}
|
||||
|
||||
String nodeId = nodeRef.getId();
|
||||
|
||||
if (renditionId != null)
|
||||
{
|
||||
return renditions.getContent(nodeId, renditionId, parameters);
|
||||
return renditions.getContent(nodeRef, renditionId, parameters);
|
||||
}
|
||||
else
|
||||
{
|
||||
return nodes.getContent(nodeId, parameters, false);
|
||||
return nodes.getContent(nodeRef, parameters, false);
|
||||
}
|
||||
}
|
||||
}, networkTenantDomain);
|
||||
|
Reference in New Issue
Block a user