]
Emmanuel Bernard updated HSEARCH-1003:
--------------------------------------
Fix Version/s: (was: 4.1)
TwoWayFieldBridge on DocumentId field: generating non-standard
fieldnames breaks delete or update operations
------------------------------------------------------------------------------------------------------------
Key: HSEARCH-1003
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-1003
Project: Hibernate Search
Issue Type: Bug
Affects Versions: 4.0.0.CR2
Reporter: Ulrich
Assignee: Sanne Grinovero
As explained here:
https://forum.hibernate.org/viewtopic.php?f=9&t=1003739&p=2450940...
updating a document does not work correctly if using an entity property annotated with
DocumentId and using a TwoWayFieldBridge, where the bridge does not use the same single
field name as in the set method and does not produce a single string.
At the moment, a second document is created, because the removal of the original document
fails without warning.
At least an exception should be raised.
Also the documentation could mention this condition.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: