From 20a0a0de247b99bfe924066cff712f02f4be9848 Mon Sep 17 00:00:00 2001 From: Roy Wetherall Date: Tue, 16 Oct 2007 13:04:43 +0000 Subject: [PATCH] Sometimes category values where being returned as string's rather than nodeRefs git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7006 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../alfresco/repo/node/NodeRefPropertyMethodInterceptor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/java/org/alfresco/repo/node/NodeRefPropertyMethodInterceptor.java b/source/java/org/alfresco/repo/node/NodeRefPropertyMethodInterceptor.java index 5427904496..98ce5ac650 100644 --- a/source/java/org/alfresco/repo/node/NodeRefPropertyMethodInterceptor.java +++ b/source/java/org/alfresco/repo/node/NodeRefPropertyMethodInterceptor.java @@ -345,11 +345,11 @@ public class NodeRefPropertyMethodInterceptor implements MethodInterceptor QName type = nodeService.getType(test); if (dictionaryService.isSubClass(type, ContentModel.TYPE_CATEGORY)) { - return inboundValue; + return test; } else { - return null; + return test; } } else