http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14664

            Bug ID: 14664
           Summary: Harvesting records of an  non-existent set, instead of
                    an error return all the records
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Web services
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Steps:
  - Enable syspref OAI-PMH and leave OAI-PMH:ConfFile empty.
  - Set an OAI set on Home › Administration › OAI sets configuration
  - Remember the setSpec you choose (the real set primary key), for example
setSpec==THESIS
  - Fetch with set=THESIS, you will get records on that set.
  - Now fetch records with set=bananas.
Expected result:
  A badArgument error like this one:
http://digital.bl.fcen.uba.ar/gsdl-282/cgi-bin/oaiserver.cgi?verb=ListRecords&metadataPrefix=oai_dc&set=bananas
(Greenstone v2.82)
Actual result:
  List ALL records, like here:
http://catalog.bywatersolutions.com/cgi-bin/koha/oai.pl?verb=ListRecords&from=2010-01-01&metadataPrefix=oai_dc&set=bananas
Reference: 
  https://www.openarchives.org/OAI/2.0/guidelines-harvester.htm#Sets
  https://www.openarchives.org/OAI/openarchivesprotocol.html#ErrorConditions

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to