mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
77245: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud) 76227: Merged DEV to PLATFORM1 with corrections 75545: ACE-1996: Cluster: Web client extensions not distributed: - Remove initial title/description resolving in CMIS dictionaries - Use asynchronously refreshed cache in diactionaryDAO - Modify unit tests that uses CompiledModelCache - Make sure that rootNode exists before children retrieving in DictionaryRepositoryBootstrap.getNodes() git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@78101 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -476,7 +476,13 @@ implements TenantDeployer, DictionaryListener, /*TenantDictionaryListener, */Mes
|
||||
List<NodeRef> nodeRefs = new ArrayList<NodeRef>();
|
||||
|
||||
NodeRef rootNodeRef = nodeService.getRootNode(storeRef);
|
||||
|
||||
if(nodeService.exists(rootNodeRef) == false)
|
||||
{
|
||||
//Tenant is deleted. But cache refresh was called to inform another cluster nodes
|
||||
//Should be reworked when MNT-11638 will be implemented
|
||||
return nodeRefs;
|
||||
}
|
||||
|
||||
if(repositoryLocation instanceof DynamicCreateRepositoryLocation)
|
||||
{
|
||||
((DynamicCreateRepositoryLocation)repositoryLocation).checkAndCreate(rootNodeRef);
|
||||
|
Reference in New Issue
Block a user