[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-1003) TwoWayFieldBridge on DocumentId field: no check for single field and correct field name
Ulrich (JIRA)
noreply at atlassian.com
Thu Dec 8 08:17:22 EST 2011
TwoWayFieldBridge on DocumentId field: no check for single field and correct field name
---------------------------------------------------------------------------------------
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
As explained here: https://forum.hibernate.org/viewtopic.php?f=9&t=1003739&p=2450940#p2450940
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: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list