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

Sanne Grinovero (JIRA) noreply at atlassian.com
Mon Aug 1 11:40:08 EDT 2011


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

Sanne Grinovero updated HSEARCH-780:
------------------------------------

    Fix Version/s: 3.4.1

> 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: 3.4.1, 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list