mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
MOB-659 (part 2 of 2) - improve dictionary cache reset (should work even with null / cache)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -256,7 +256,7 @@ public class WorkflowDeployer extends AbstractLifecycleBean
|
||||
userTransaction.begin();
|
||||
|
||||
// bootstrap the workflow models and static labels (from classpath)
|
||||
if (models != null && resourceBundles != null)
|
||||
if (models != null && resourceBundles != null && ((models.size() > 0) || (resourceBundles.size() > 0)))
|
||||
{
|
||||
DictionaryBootstrap dictionaryBootstrap = new DictionaryBootstrap();
|
||||
dictionaryBootstrap.setDictionaryDAO(dictionaryDAO);
|
||||
|
Reference in New Issue
Block a user