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:
Kevin Roast
2007-06-05 17:49:13 +00:00
parent 8f836c1a6b
commit 4843b56e2a
2 changed files with 54 additions and 7 deletions

View File

@@ -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))