[Koha-bugs] [Bug 21108] New: oai.pl error response did not contain error code 'noRecordsMatch' when it should

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 24 02:17:41 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21108

            Bug ID: 21108
           Summary: oai.pl error response did not contain error code
                    'noRecordsMatch' when it should
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          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

### 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


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 watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list