Fix for document list not returning data (e.g. when tag property is null)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29215 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mike Hatfield
2011-07-20 10:45:27 +00:00
parent dba83496a9
commit feb32d5a4c

View File

@@ -232,6 +232,8 @@ public final class ApplicationScriptUtils extends BaseScopableProcessorExtension
String key = useShortQNames ? shortQName : nextLongQName.toString(); String key = useShortQNames ? shortQName : nextLongQName.toString();
Serializable value = properties.get(nextLongQName); Serializable value = properties.get(nextLongQName);
if (value != null)
{
// Has a decorator has been registered for this property? // Has a decorator has been registered for this property?
if (this.decoratedProperties.containsKey(shortQName)) if (this.decoratedProperties.containsKey(shortQName))
{ {
@@ -253,6 +255,7 @@ public final class ApplicationScriptUtils extends BaseScopableProcessorExtension
} }
} }
} }
}
catch (NamespaceException ne) catch (NamespaceException ne)
{ {
// ignore properties that do not have a registered namespace // ignore properties that do not have a registered namespace