Bug 19064 - OAI-PMH Records appearing in OAI that can't be found in OPAC
Summary: OAI-PMH Records appearing in OAI that can't be found in OPAC
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Web services (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 24403
  Show dependency treegraph
 
Reported: 2017-08-08 13:19 UTC by Patricio Marrone
Modified: 2020-01-11 18:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patricio Marrone 2017-08-08 13:19:58 UTC
Hello,

While harvesting Koha records from the OAI-PMH interface, I found a series of records that can't be accessed using the OPAC interface. That is, the harvester finds a record with an identifier, say 
http://example.com/cgi-bin/koha/oai.pl?verb=GetRecord&metadataPrefix=oai_dc&identifier=KOHA-OAI-EXAMPLE:572

that shows the complete record.
Trying to link to the OPAC using the biblionumber in the last part of the identifier, say

http://example.com/cgi-bin/koha/opac-detail.pl?biblionumber=572

I get a 404 error.

I have yet to confirm this, but this might be related to the records being hidden in the OPAC view being leaked into OAI. In that case, I would expect the record to have a deleted status in OAI so that in can be removed from the harvesting results.