mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
GetAspects() method now working correctly for AVM nodes in templating API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -66,7 +66,7 @@ public abstract class BaseContentNode implements TemplateContent
|
||||
|
||||
protected ServiceRegistry services = null;
|
||||
protected TemplateImageResolver imageResolver = null;
|
||||
private Set<QName> aspects = null;
|
||||
protected Set<QName> aspects = null;
|
||||
private String displayPath = null;
|
||||
|
||||
private Boolean isDocument = null;
|
||||
@@ -285,7 +285,7 @@ public abstract class BaseContentNode implements TemplateContent
|
||||
{
|
||||
if (this.aspects == null)
|
||||
{
|
||||
this.aspects = this.services.getNodeService().getAspects(getNodeRef());
|
||||
getAspects();
|
||||
}
|
||||
|
||||
if (aspect.startsWith(NAMESPACE_BEGIN))
|
||||
|
Reference in New Issue
Block a user