Bug 19064

Summary: OAI-PMH Records appearing in OAI that can't be found in OPAC
Product: Koha Reporter: Patricio Marrone <marrone.patricio>
Component: Web servicesAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: dcook, katrin.fischer
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18989
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 24403    

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.
Comment 1 David Cook 2022-10-11 23:59:50 UTC

*** This bug has been marked as a duplicate of bug 31161 ***