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