My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 23: The rebuild method of RecordEnumerationImpl fail to iterate until the end if the filter returns false
2 people starred this issue and may be notified of changes. Back to list
Status:  Verified
Owner:  ----
Closed:  Jan 2010


 
Reported by tmoreira...@gmail.com, Jan 5, 2010

The rebuild method of org.microemu.util.RecordEnumerationImlp does NOT work 
properly if a filter is provided and if this filter matches a false value. 
The rebuild method will fetch the same record from 
recordStoreImpl.getRecord(recordId) because once the filter matches a false 
value the recordId variable won't be any more updated.

Attached is a patch that fixes the issue.
RecordEnumerationImpl.java.patch
913 bytes   View   Download
Jan 6, 2010
Project Member #1 bar...@gmail.com
Fixed in trunk (future version 3.0)
Status: Fixed
Labels: Milestone-3.0
Jan 6, 2010
Project Member #2 bar...@gmail.com
I had to modify this patch. The problem was incrementing recordId in the beginning of
while loop.
Jan 6, 2010
#3 tmoreira...@gmail.com
Thanks, it is working fine now!
Jan 6, 2010
Project Member #4 bar...@gmail.com
(No comment was entered for this change.)
Status: Verified

Powered by Google Project Hosting