Bug 21108 - oai.pl error response did not contain error code 'noRecordsMatch' when it should
Summary: oai.pl error response did not contain error code 'noRecordsMatch' when it should
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Web services (show other bugs)
Version: Main
Hardware: All All
: P4 normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 21102
  Show dependency treegraph
 
Reported: 2018-07-24 00:17 UTC by Pablo AB
Modified: 2018-07-24 00:17 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo AB 2018-07-24 00:17:41 UTC
Tested with https://github.com/zimeon/oaipmh-validator

### Checking for version 2.0 specific exceptions
REQUEST: baseURL?verb=ListRecords&metadataPrefix=oai_dc&until=-001 GET
FAIL:    Error code noRecordsMatch not found in response but should be given to the request: verb=ListRecords&metadataPrefix=oai_dc&until=-001 The request specified a date one year before the earliestDatestamp given in the Identify response. There should therefore not be any records with datestamps on or before this date and a noRecordsMatch error code should be returned.

See https://www.openarchives.org/OAI/openarchivesprotocol.html#ErrorConditions and 4.3 ListIdentifiers