mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user