[Koha-bugs] [Bug 21109] New: oai.pl returns invalid resumptionToken cursor
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jul 24 02:20:22 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21109
Bug ID: 21109
Summary: oai.pl returns invalid resumptionToken cursor
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P4
Component: Web services
Assignee: koha-bugs at lists.koha-community.org
Reporter: pablo.bianchi at gmail.com
QA Contact: testopia at bugs.koha-community.org
Blocks: 21102
Tested with https://github.com/zimeon/oaipmh-validator
and curl -s "baseURL?verb=ListRecords&metadataPrefix=oai_dc" | xmllint --format
- | grep resumptionToken
### Checking for correct use of resumptionToken (if used)
REQUEST: baseURL?verb=ListRecords&metadataPrefix=oai_dc GET
FAIL: A cursor value was supplied with the resumptionToken but it did not
have the correct value zero for the first response. The value was '50'.
This value is OAI-PMH:MaxCount syspref.
_cursor_ indicate the number of previous replies have already delivered:
"cursor -- a count of the number of elements of the complete list thus far
returned (i.e. cursor starts at 0)."
See https://www.openarchives.org/OAI/openarchivesprotocol.html#FlowControl
See
https://www.openarchives.org/OAI/2.0/guidelines-harvester.htm#resumptionToken
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21102
[Bug 21102] OAI-PMH specification conformance [UMBRELLA]
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list