From 46acb964cced24274851f44025ffe891c28b52b8 Mon Sep 17 00:00:00 2001 From: Kevin Roast Date: Thu, 17 Aug 2006 15:27:46 +0000 Subject: [PATCH] Fix from Roy to recent RuleServiceImpl changes to use the correct NodeService (i.e. non-permission protected version) - as per: http://forums.alfresco.com/viewtopic.php?p=9772#9772 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3538 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- source/java/org/alfresco/repo/rule/RuleServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/java/org/alfresco/repo/rule/RuleServiceImpl.java b/source/java/org/alfresco/repo/rule/RuleServiceImpl.java index 2cb314b3f0..ac31a18ba8 100644 --- a/source/java/org/alfresco/repo/rule/RuleServiceImpl.java +++ b/source/java/org/alfresco/repo/rule/RuleServiceImpl.java @@ -330,7 +330,7 @@ public class RuleServiceImpl implements RuleService, RuntimeRuleService if (this.runtimeNodeService.exists(nodeRef) == true && checkNodeType(nodeRef) == true) { - if (includeInherited == true && this.nodeService.hasAspect(nodeRef, RuleModel.ASPECT_IGNORE_INHERITED_RULES) == false) + if (includeInherited == true && this.runtimeNodeService.hasAspect(nodeRef, RuleModel.ASPECT_IGNORE_INHERITED_RULES) == false) { // Get any inherited rules for (Rule rule : getInheritedRules(nodeRef, ruleTypeName, null)) @@ -441,7 +441,7 @@ public class RuleServiceImpl implements RuleService, RuntimeRuleService { List inheritedRules = new ArrayList(); - if (this.nodeService.hasAspect(nodeRef, RuleModel.ASPECT_IGNORE_INHERITED_RULES) == false) + if (this.runtimeNodeService.hasAspect(nodeRef, RuleModel.ASPECT_IGNORE_INHERITED_RULES) == false) { // Create the visited nodes set if it has not already been created if (visitedNodeRefs == null)