Merged V4.1-BUG-FIX to HEAD

41549: (RECORD ONLY) ALF-15908: Ensure custom actions work (latest Surf libs r1140)
   41551: Fixed the failing unit test for ALF-15687.
   41553: ALF-14201: sorted out sorting issue in historic task query
   41554: ALF-15930: Removed redundant duplicate condition checking when deploying a workflow


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@41555 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Dave Ward
2012-09-13 10:06:19 +00:00
parent ee8081b663
commit 8fcf83e9ad

View File

@@ -284,13 +284,6 @@ public class WorkflowDeployer extends AbstractLifecycleBean
ClassPathResource workflowResource = new ClassPathResource(location);
// deploy workflow definition
if (!redeploy && workflowService.isDefinitionDeployed(engineId, workflowResource.getInputStream(), mimetype))
{
if (logger.isDebugEnabled())
logger.debug("Workflow deployer: Definition '" + location + "' already deployed");
}
else
{
if (!redeploy && workflowService.isDefinitionDeployed(engineId, workflowResource.getInputStream(), mimetype))
{
if (logger.isDebugEnabled())
@@ -303,7 +296,6 @@ public class WorkflowDeployer extends AbstractLifecycleBean
logDeployment(location, deployment);
}
}
}
else
{
if (logger.isDebugEnabled())