[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-293) AddLuceneWork is not being removed from the queue when DeleteLuceneWork is added for the same entity

Daniel Claesén (JIRA) noreply at atlassian.com
Tue Oct 28 09:30:04 EDT 2008


AddLuceneWork is not being removed from the queue when DeleteLuceneWork is added for the same entity
----------------------------------------------------------------------------------------------------

                 Key: HSEARCH-293
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-293
             Project: Hibernate Search
          Issue Type: Bug
          Components: engine
    Affects Versions: 3.1.0.Beta2
            Reporter: Daniel Claesén


There's an issue in the addWorkToQueue function in the DocumentBuilder class. If the work type is delete and there is an AddLuceneWork for the same entity in the queue it is added to the toDelete list. But when looping through the toDelete list the items are not removed from the LuceneWork queue, only from the toDelete list.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the hibernate-issues mailing list