From 91570cd9f6f389c161465f1638057381639e92af Mon Sep 17 00:00:00 2001 From: Roy Wetherall Date: Tue, 5 Sep 2006 12:31:11 +0000 Subject: [PATCH] Fixed issue with outgoing rule. Fixed messages order in rule wizard. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3696 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- source/java/org/alfresco/repo/rule/RuleServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/java/org/alfresco/repo/rule/RuleServiceImpl.java b/source/java/org/alfresco/repo/rule/RuleServiceImpl.java index ac31a18ba8..9bf1eea747 100644 --- a/source/java/org/alfresco/repo/rule/RuleServiceImpl.java +++ b/source/java/org/alfresco/repo/rule/RuleServiceImpl.java @@ -924,7 +924,7 @@ public class RuleServiceImpl implements RuleService, RuntimeRuleService private boolean checkForCopy(Set executedRules, NodeRef actionedUponNodeRef, Rule rule) { boolean result = true; - if (this.nodeService.hasAspect(actionedUponNodeRef, ContentModel.ASPECT_COPIEDFROM) == true) + if (this.nodeService.exists(actionedUponNodeRef) == true && this.nodeService.hasAspect(actionedUponNodeRef, ContentModel.ASPECT_COPIEDFROM) == true) { if (logger.isDebugEnabled() == true) {