AnsweredAssumed Answered

TypeDefinition.getChildAssociations() not complete

Question asked by dbevacqua on Jan 26, 2007
Latest reply on Jan 29, 2007 by dbevacqua

We've noticed that TypeDefinition.getChildAssociations() does not return ChildAssociations from its default Aspects. This seems odd to me but there may be a reason for it.

We can work around the problem, as you seem to have done in LuceneIndexerImpl2.mayHaveChildren(NodeRef nodeRef) in response to a related issue which I posted here:

but it seems rather unsatisfactory. We would be happy to update CompiledModel etc to fix this, either adding a method to getChildAssociationsIncludingTheOnesFromItsAspects (or something more succinct) or just updating the existing one (although this may have unintended consequences) - would you accept such a contribution?

We will work around for now but would be good to hear your thoughts on the subject.