[hibernate-issues] [Hibernate-JIRA] Resolved: (HSEARCH-780) Dirty analysis of @IndexedEmbedded on a superclass collection fails (Samppa Saarela)

Emmanuel Bernard (JIRA) noreply at atlassian.com
Tue Jun 21 05:48:53 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard resolved HSEARCH-780.
--------------------------------------

         Assignee: Emmanuel Bernard
       Resolution: Fixed
    Fix Version/s: 4.0.0.Alpha1

Many thanks, I've applied a slightly modified version of your patch solving the @ContainedIn case as well.

> Dirty analysis of @IndexedEmbedded on a superclass collection fails (Samppa Saarela)
> ------------------------------------------------------------------------------------
>
>                 Key: HSEARCH-780
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-780
>             Project: Hibernate Search
>          Issue Type: Bug
>    Affects Versions: 3.4.0.Final
>            Reporter: Samppa Saarela
>            Assignee: Emmanuel Bernard
>             Fix For: 4.0.0.Alpha1
>
>
> AbstractDocumentBuilder.indexedEmbeddedCollectionRoles contains roles that are bound to given indexed class (e.g. ASubclass.commonCollection). In Hibernate collection roles are bound to the class they are defined in (e.g. ASuperclass.commonCollection). Given this mismatch the collection gets excluded from being indexed in FullTextIndexEventListener.processCollectionEvent > AbstractDocumentBuilder.isCollectionRoleExcluded.
> In the test case (in github pull request) this bug is reproduced using an abstract superclass, but I suspect it affects also other kind of indexed hierarchies.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list