Can't complete requests chain without time borders

Description

Steps to reproduce:

  • Load more than 100 records via data import in FOLIO

  • Make a GET request to baseUrl/oai/apiKey?verb=ListRecords&metadataPrefix=marc21&set=all

  • Find resumptionToken value

  • Make another a GET request to baseUrl/oai/apiKey?verb=ListRecords&resumptionToken=<value>

Expected result:
Next records set is returned.

Actual result:
Error code badResumptionToken with a message "There were substantial changes to the repository and continuing may result in missing records" is returned.

Additional information:

  • Behavior is reproduced both for ListRecords verb and for ListIdentifiers verb.

  • Expected result is obtained if at least one of the optional date parameters "from" or "until" is defined.

  • See comments in https://folio-org.atlassian.net/browse/MODOAIPMH-10 to understand the logic of incomplete responses flow

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Gulfstream

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created April 1, 2020 at 11:41 AM
Updated June 12, 2020 at 3:32 PM
Resolved May 18, 2020 at 11:14 AM
TestRail: Cases
TestRail: Runs