Build fix. RuleServiceImpl was using big NodeService instead of runtimeNodeService to check types

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2394 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-02-15 17:45:25 +00:00
parent fb63c64b0a
commit f21edfd266
2 changed files with 13 additions and 6 deletions

View File

@@ -382,7 +382,7 @@ public class RuleServiceImpl implements RuleService, RuntimeRuleService
{
boolean result = true;
QName nodeType = this.nodeService.getType(nodeRef);
QName nodeType = this.runtimeNodeService.getType(nodeRef);
if (this.dictionaryService.isSubClass(nodeType, ContentModel.TYPE_SYSTEM_FOLDER) == true ||
this.dictionaryService.isSubClass(nodeType, ActionModel.TYPE_ACTION) == true ||
this.dictionaryService.isSubClass(nodeType, ActionModel.TYPE_ACTION_CONDITION) == true ||