mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
MT admin - add export/import tenant also expose delete tenant (BETA)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8047 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -473,7 +473,13 @@ public class DictionaryModelType implements ContentServicePolicies.OnContentUpda
|
||||
if ((existingValue != null) && (existingValue.booleanValue() == true))
|
||||
{
|
||||
String name = (String)nodeService.getProperty(existingNodeRef, ContentModel.PROP_NAME);
|
||||
throw new AlfrescoRuntimeException("Cannot activate '"+modelDefinition.getName()+"' - existing active model: " + name);
|
||||
|
||||
// for MT import, model may have been activated by DictionaryRepositoryBootstrap
|
||||
if (logger.isDebugEnabled())
|
||||
{
|
||||
logger.debug("Re-activating '"+modelDefinition.getName()+"' - existing active model: " + name);
|
||||
}
|
||||
//throw new AlfrescoRuntimeException("Cannot activate '"+modelDefinition.getName()+"' - existing active model: " + name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user