mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge V3.4 to HEAD
23487 : ALF-5539 - Deployment Installer missing I18NUtil 23607 : ALF-5528 - reworking configuration of "filesystem" target. 23674 : ALF-5557 - XSS attack occurs on start workflow with XSS properties. 23684 : ALF-817 - Error occurs when you try to change name of locked file 24119 : ALF-532 - restore-context.xml.sample is useless git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -865,11 +865,11 @@ public class MultiTAVMService implements AVMService
|
||||
|
||||
private String getTenantPath(String avmPath)
|
||||
{
|
||||
if ((avmPath == null) || (! isTenantServiceEnabled()))
|
||||
if ((avmPath == null) || (! isTenantServiceEnabled()) || avmPath.equals("UNKNOWN/UNKNOWN"))
|
||||
{
|
||||
return avmPath;
|
||||
}
|
||||
|
||||
|
||||
String[] storePath = splitPath(avmPath);
|
||||
return tenantService.getName(storePath[0]) + ':' + storePath[1];
|
||||
}
|
||||
@@ -877,11 +877,11 @@ public class MultiTAVMService implements AVMService
|
||||
private String getBasePath(String avmPath)
|
||||
{
|
||||
// note: ALFCOM-2893 - getCommonAncestor can return node with path = "/"
|
||||
if ((avmPath == null) || (! isTenantServiceEnabled()) || (avmPath.equals("/")))
|
||||
if ((avmPath == null) || (! isTenantServiceEnabled()) || (avmPath.equals("/")) || avmPath.equals("UNKNOWN/UNKNOWN"))
|
||||
{
|
||||
return avmPath;
|
||||
}
|
||||
|
||||
|
||||
String[] storePath = splitPath(avmPath);
|
||||
return tenantService.getBaseName(storePath[0]) + ':' + storePath[1];
|
||||
}
|
||||
|
Reference in New Issue
Block a user