Menu

#108 RecordEnumerationImpl.rebuild() does not filter properly

open
nobody
None
5
2009-11-02
2009-11-02
Anonymous
No

In my debugger I have seen the filter comparing the same record repeatedly. I believe in the case where the filter matches data, you should increment the recordId.

RecordEnumerationImpl.java, line 194:

if (filter != null && !filter.matches(data)) {
recordId++; // <----- Add this
continue;
}

Discussion

  • Anonymous

    Anonymous - 2009-11-03

    I meant to say: "in the case where there is a filter and it does not match the data, you should still increment the recordId. Otherwise the same recordId will be used repeatedly."

     

Log in to post a comment.