| 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 |
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.
Jan 6, 2010
I had to modify this patch. The problem was incrementing recordId in the beginning of while loop.
Jan 6, 2010
Thanks, it is working fine now!
Jan 6, 2010
(No comment was entered for this change.)
Status:
Verified
|
Labels: Milestone-3.0