Merged V3.2 to HEAD

19216: ENH-506 - allow script compilation to be disabled for repository tier. Fix to unreported issue with return aspect array from a ScriptNode.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19221 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2010-03-11 12:31:51 +00:00
parent 426d419e53
commit e6df53908a
2 changed files with 14 additions and 3 deletions

View File

@@ -894,7 +894,7 @@ public class ScriptNode implements Serializable, Scopeable, NamespacePrefixResol
public Scriptable getAspects()
{
Set<QName> aspects = getAspectsSet();
String[] result = new String[aspects.size()];
Object[] result = new Object[aspects.size()];
int count = 0;
for (QName qname : aspects)
{