Added d:version mapping to org.alfresco.util.VersionNumber.

Fixed NPE in NodeBrowser where the the dictionary doesn't recognise the persisted type.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2007-04-26 08:19:54 +00:00
parent eecfcd3485
commit 9770c96fb7

View File

@@ -720,7 +720,11 @@ public class AdminNodeBrowseBean
{
if (value != null)
{
datatype = dictionaryService.getDataType(value.getClass()).getName().toString();
DataTypeDefinition dataTypeDefinition = dictionaryService.getDataType(value.getClass());
if (dataTypeDefinition != null)
{
datatype = dictionaryService.getDataType(value.getClass()).getName().toString();
}
}
}
return datatype;