Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoPagingItemReader never reset page number #1086

Closed
spring-projects-issues opened this issue Jul 15, 2016 · 1 comment
Closed

MongoPagingItemReader never reset page number #1086

spring-projects-issues opened this issue Jul 15, 2016 · 1 comment

Comments

@spring-projects-issues
Copy link
Collaborator

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

@adsanche
Copy link

Hi, looks like the doClose() method still unimplemented on MongoItemReader, is it still considered a bug to be fixed?

@fmbenhassine fmbenhassine added in: infrastructure and removed status: waiting-for-triage Issues that we did not analyse yet labels Dec 17, 2024
@fmbenhassine fmbenhassine added this to the 5.2.1 milestone Dec 17, 2024
@fmbenhassine fmbenhassine changed the title MongoItemReader never reset page number. [BATCH-2517] MongoPagingItemReader never reset page number Dec 17, 2024
@fmbenhassine fmbenhassine added the for: backport-to-5.1.x Issues that will be back-ported to the 5.1.x line label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants