From 3a3c78c5dbcea80ba2d68c10efd384bb79631be0 Mon Sep 17 00:00:00 2001 From: Jamal Kaabi-Mofrad Date: Mon, 28 Nov 2016 16:53:49 +0000 Subject: [PATCH] Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1) 133084 jkaabimofrad: APPSREPO-61: Corrected the debug messages. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133217 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../repo/quickshare/QuickShareLinkExpiryActionExecutor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/java/org/alfresco/repo/quickshare/QuickShareLinkExpiryActionExecutor.java b/source/java/org/alfresco/repo/quickshare/QuickShareLinkExpiryActionExecutor.java index 61eeb084cd..1699d3b993 100644 --- a/source/java/org/alfresco/repo/quickshare/QuickShareLinkExpiryActionExecutor.java +++ b/source/java/org/alfresco/repo/quickshare/QuickShareLinkExpiryActionExecutor.java @@ -72,7 +72,7 @@ public class QuickShareLinkExpiryActionExecutor extends ActionExecuterAbstractBa String sharedId = quickShareLinkExpiryAction.getSharedId(); if (LOGGER.isDebugEnabled()) { - LOGGER.debug("Unsharing the shared id [" + sharedId + "] for the node:" + quickShareService.getMetaData(sharedId).get("name")); + LOGGER.debug("Unsharing the shared id [" + sharedId + "] for the node:" + quickShareService.getTenantNodeRefFromSharedId(sharedId).getSecond()); } if (StringUtils.isEmpty(sharedId)) @@ -85,7 +85,7 @@ public class QuickShareLinkExpiryActionExecutor extends ActionExecuterAbstractBa quickShareService.unshareContent(sharedId); if (LOGGER.isDebugEnabled()) { - LOGGER.debug("Unshared the shared id [" + sharedId + "] for the node:" + quickShareService.getMetaData(sharedId).get("name")); + LOGGER.debug("Unshared the shared id:" + sharedId); } } catch (Exception ex)