[hibernate-issues] [Hibernate-JIRA] Updated: (HSEARCH-1003) TwoWayFieldBridge on DocumentId field: generating non-standard fieldnames breaks delete or update operations

Sanne Grinovero (JIRA) noreply at atlassian.com
Thu Dec 8 10:10:19 EST 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sanne Grinovero updated HSEARCH-1003:
-------------------------------------

    Fix Version/s: 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
>             Fix For: 4.1
>
>
> 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