face08 / bulk-loader

Automatically exported from code.google.com/p/bulk-loader
0 stars 0 forks source link

bulkLoader.itemsTotal dont change when removeAll() is executed #82

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Create a new BulkLoader instance and load an item
2. When loading complete execute removeAll() on your BulkLoader instance
3. Then if you trace itemsLoaded on progress you get -1

The removeAll() methods should clear itemsTotal too.

I've just downloaded the last revision : rev239.

(Thanks for your work guys !)

Original issue reported on code.google.com by remi.tof...@gmail.com on 18 Mar 2009 at 10:23

GoogleCodeExporter commented 8 years ago
Hi Remi.

This should be fixed as of revision 262.
Note, however that the api will sometimes fire a progress event for a loader 
that has been stopped, and that can 
still cause a bad reading.

Cheers
arthur Debert

Original comment by debert on 26 Apr 2009 at 4:13