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)
77202: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud) 74762: ACE-955 "Custom Content Models in Cloud" Fix Enterprise build tests, some tidy up git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@78058 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -66,25 +66,13 @@ public class DynamicCreateRepositoryLocation extends RepositoryLocation
|
||||
|
||||
public void checkAndCreate(NodeRef rootNodeRef)
|
||||
{
|
||||
// try
|
||||
// {
|
||||
// String[] pathElements = getPathElements();
|
||||
List<NodeRef> nodes = searchService.selectNodes(rootNodeRef, getPath(), null, namespaceService, false);
|
||||
if(nodes.size() == 0)
|
||||
{
|
||||
logger.info("Repository location " + getPath() + " does not exist for tenant "
|
||||
+ TenantUtil.getCurrentDomain() + ", creating");
|
||||
create();
|
||||
}
|
||||
|
||||
// fileFolderService.resolveNamePath(rootNodeRef, Arrays.asList(pathElements));
|
||||
// }
|
||||
// catch(FileNotFoundException e)
|
||||
// {
|
||||
// logger.info("Repository location " + getPath() + " does not exist for tenant "
|
||||
// + TenantUtil.getCurrentDomain() + ", creating");
|
||||
// create();
|
||||
// }
|
||||
List<NodeRef> nodes = searchService.selectNodes(rootNodeRef, getPath(), null, namespaceService, false);
|
||||
if(nodes.size() == 0)
|
||||
{
|
||||
logger.info("Repository location " + getPath() + " does not exist for tenant "
|
||||
+ TenantUtil.getCurrentDomain() + ", creating");
|
||||
create();
|
||||
}
|
||||
}
|
||||
|
||||
protected String getParentPath()
|
||||
|
Reference in New Issue
Block a user