mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix regression from resolving ALF-5042 (Default root folder path '/Company Home' not found)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22845 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -396,7 +396,7 @@ public class Repository implements ApplicationContextAware, ApplicationListener,
|
||||
NodeRef rootNodeRef = getCompanyHome();
|
||||
if (reference.length == 3)
|
||||
{
|
||||
if (reference[2].equals(nodeService.getProperty(rootNodeRef, ContentModel.PROP_NAME)))
|
||||
if (reference[2].equals(nodeService.getPrimaryParent(rootNodeRef).getQName().toPrefixString(namespaceService)))
|
||||
{
|
||||
nodeRef = rootNodeRef;
|
||||
}
|
||||
|
Reference in New Issue
Block a user