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

Samppa Saarela (JIRA) noreply at atlassian.com
Tue Jun 21 02:53:53 EDT 2011


Dirty analysis of @IndexedEmbedded on a superclass collection fails
-------------------------------------------------------------------

                 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


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