[Koha-bugs] [Bug 24809] OAI PMH can fail on fetching deleted records
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Mar 8 22:49:55 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24809
Michal Denar <black23 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #100178|0 |1
is obsolete| |
--- Comment #2 from Michal Denar <black23 at gmail.com> ---
Created attachment 100317
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=100317&action=edit
Bug 24809: Get only timestamp of deleted items attached to existing bibs when
check if bib deleted
To test:
1 - Edit/create a file in the koha home dir '/var/lib/koha/{instance}/OAI.yaml
2 - Set sysprefs:
OAI-PMH => Enable
OAI-PMH:ConfFile => /var/lib/koha/{instace}/OAI.yaml
3 - View a record with items and confirm the items show:
http://localhost:8080/cgi-bin/koha/oai.pl?verb=GetRecord&metadataPrefix=marcxml&identifier=KOHA-OAI-TEST:4
4 - Delete the items, then delete the record
5 - Reload the URL from step 3
6 - Internal Server Error:
Empty String at /kohadevbox/koha/Koha/OAI/Server/Record.pm line 58.
at /usr/share/perl/5.24/Carp.pm line 167
7 - Apply patch
8 - restart_all
9 - Repeat
10 - Reload URL from step 3
11 - Success
Signed-off-by: Michal Denar <black23 at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list