Merged from DEV/SG/REPO1259 to 5.2.N

MNT-16541 "Cache update for custom workflow model fails" update to use released alfresco-core and alfresco-data-model

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132355 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Steven Glover
2016-11-03 17:04:49 +00:00
parent 0c3f391fb0
commit 761b6c2b21
8 changed files with 67 additions and 47 deletions

View File

@@ -549,9 +549,9 @@ public class WorkflowDeployer extends AbstractLifecycleBean
{
public Object doWork()
{
// invalidate - to force lazy re-init
dictionaryDAO.destroy();
// force refresh of the dictionary
dictionaryDAO.init();
if (logger.isTraceEnabled())
{
logger.trace("Workflow deployer afterCommit: Dictionary destroyed ["+AlfrescoTransactionSupport.getTransactionId()+"]");