Fixed ALFCOM-2893 - WCM content expiration throws "Invalid Path: /"

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14836 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2009-06-22 16:12:57 +00:00
parent 2339843e99
commit dc5c8b61e2

View File

@@ -854,7 +854,8 @@ public class MultiTAVMService implements AVMService
private String getBasePath(String avmPath) private String getBasePath(String avmPath)
{ {
if ((avmPath == null) || (! isTenantServiceEnabled())) // note: ALFCOM-2893 - getCommonAncestor can return node with path = "/"
if ((avmPath == null) || (! isTenantServiceEnabled()) || (avmPath.equals("/")))
{ {
return avmPath; return avmPath;
} }