mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Fix for ALF-10447 - Share Admin -> NodeBrowser: NPE when trying to access version node (child of version history node)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30801 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -991,7 +991,11 @@ public class NodeBrowserScript extends DeclarativeWebScript
|
||||
*/
|
||||
public String getDataType()
|
||||
{
|
||||
String datatype = Property.this.getTypeName().getName();
|
||||
String datatype = null;
|
||||
if (Property.this.getTypeName() != null)
|
||||
{
|
||||
datatype = Property.this.getTypeName().getName();
|
||||
}
|
||||
if (datatype == null || datatype.equals(DataTypeDefinition.ANY.toString()))
|
||||
{
|
||||
if (value != null)
|
||||
|
Reference in New Issue
Block a user