mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -720,7 +720,11 @@ public class AdminNodeBrowseBean
|
|||||||
{
|
{
|
||||||
if (value != null)
|
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;
|
return datatype;
|
||||||
|
Reference in New Issue
Block a user