for each (aspect in node.aspects){ \\code here }
I get this error: java.lang.IllegalArgumentException at org.mozilla.javascript.Context.newArray(Context.java:1545) at org.alfresco.repo.jscript.ScriptNode.getAspects(ScriptNode.java:657)
I have tried many permutations and it doesn't matter whether the node has any aspects or not. I am using ver. 2.9c
Are others having this problem? Is this a bug or am i doing something wrong.