<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic TypeDefinition.getChildAssociations() not complete in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/typedefinition-getchildassociations-not-complete/m-p/63851#M40143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=3721&amp;amp;highlight=" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?t=3721&amp;amp;highlight=&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We will work around for now but would be good to hear your thoughts on the subject.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dominic&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jan 2007 17:16:07 GMT</pubDate>
    <dc:creator>dbevacqua</dc:creator>
    <dc:date>2007-01-26T17:16:07Z</dc:date>
    <item>
      <title>TypeDefinition.getChildAssociations() not complete</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/typedefinition-getchildassociations-not-complete/m-p/63851#M40143</link>
      <description>HiWe'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</description>
      <pubDate>Fri, 26 Jan 2007 17:16:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/typedefinition-getchildassociations-not-complete/m-p/63851#M40143</guid>
      <dc:creator>dbevacqua</dc:creator>
      <dc:date>2007-01-26T17:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: TypeDefinition.getChildAssociations() not complete</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/typedefinition-getchildassociations-not-complete/m-p/63852#M40144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree that default aspects should be treated as part of the class definition.&amp;nbsp; However, I think it needs some thought.&amp;nbsp; It's not just child associations, but also, properties and all other parts of the type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a helper method on DictionaryService which builds an anonymous type based on a passed class and any number of aspects.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 10:51:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/typedefinition-getchildassociations-not-complete/m-p/63852#M40144</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2007-01-29T10:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: TypeDefinition.getChildAssociations() not complete</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/typedefinition-getchildassociations-not-complete/m-p/63853#M40145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cheers David - will have a go with that method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dominic&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 15:14:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/typedefinition-getchildassociations-not-complete/m-p/63853#M40145</guid>
      <dc:creator>dbevacqua</dc:creator>
      <dc:date>2007-01-29T15:14:39Z</dc:date>
    </item>
  </channel>
</rss>

