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
This commit is contained in:
Roy Wetherall
2007-10-16 13:04:43 +00:00
parent 714c7a2b14
commit 20a0a0de24

View File

@@ -345,11 +345,11 @@ public class NodeRefPropertyMethodInterceptor implements MethodInterceptor
QName type = nodeService.getType(test); QName type = nodeService.getType(test);
if (dictionaryService.isSubClass(type, ContentModel.TYPE_CATEGORY)) if (dictionaryService.isSubClass(type, ContentModel.TYPE_CATEGORY))
{ {
return inboundValue; return test;
} }
else else
{ {
return null; return test;
} }
} }
else else