MongoPagingItemReader never reset page number #1086
Labels
for: backport-to-5.1.x
Issues that will be back-ported to the 5.1.x line
in: infrastructure
related-to: item-readers-writers
type: bug
Milestone
Oleksandr Loushkin opened BATCH-2517 and commented
MongoItemReader should override doClose() method with reset page number.
Otherwise page will never be returned to 0.
As we can see AbstractPaginatedDataItemReader increases page by page ++
For example RepositoryItemReader has method.
I can create pull request with quick fix.
Affects: 3.0.7
The text was updated successfully, but these errors were encountered: