]
Sanne Grinovero resolved HSEARCH-767.
-------------------------------------
Resolution: Won't Fix
REGRESSION: Reindexing of @ContainedIn entities fail under certain
conditions
-----------------------------------------------------------------------------
Key: HSEARCH-767
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-767
Project: Hibernate Search
Issue Type: Bug
Components: engine
Affects Versions: 3.4.0.Final
Reporter: Kyrill Alyoshin
Attachments: hibernate_search_bug.zip
So, I've just upgraded to 3.4.0 from 3.3.0, and one of my Hibernate Search tests
fails. Here is the summary.
Let's say we have a project with two entities: Parent and Child. Let's create
first Parent with a Child and a second Parent with a Child. Transaction commits. Parent is
@Indexed, Child is @IndexedEmbedded.
Now, in a separate transaction, we retrieve the child of Parent 1, and move it to Parent
2. Parent 2 is detached (!). Parent 2 will fail to be re-indexed. Of course, if we
re-associate Parent 2 with session, it will work. But it used to work without this.
I've reproduced the problem in the attached test case.
I am really curious as what you're going to do about this bug. :-)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: