We're updating the issue view to help you get more done. 

Collection updates may not trigger reindexing despite @ContainedIn in some circumstances

Description

When a collection embedded in an index (either through an @IndexedEmbedded or @Field) is modified, changes will not trigger reindexing of the holding entity if this collection is an AbstractPersistentCollection with org.hibernate.collection.internal.AbstractPersistentCollection.isOperationQueueEnabled() returning true.

The problem was only confirmed on 5.8, but since the cause was I expect it to be present in about all recent versions of Hibernate Search.

I will submit a PR with a test case demonstrating the issue, and a fix.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

5.8.0.CR1
5.6.3.Final
5.7.2.Final
5.5.8.Final

Priority

Major