]> git.koha-community.org Git - koha.git/commit
Bug 14363: OAI-PMH: Handle records without marcxml
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 1 Sep 2015 07:46:35 +0000 (09:46 +0200)
committerFrédéric Demians <f.demians@tamil.fr>
Wed, 30 Dec 2015 15:39:04 +0000 (16:39 +0100)
commit13239b15a56822beef510feb7cd08bba8e51265d
treedac6e900ff99bf1a6e0b336cd5f664593ed8a68c
parent77589b549c1b355cbf0fe0748fbaef76c8ec684f
Bug 14363: OAI-PMH: Handle records without marcxml

Test plan:

1/ git checkout 3.18.x
2/ GET http://OPAC/cgi-bin/koha/oai.pl?verb=ListRecords&metadataPrefix=marcxml
3/ Take the first biblionumber from the results ($biblionumber)
4/ mysql> update biblioitems set marcxml=null where biblionumber=$biblionumber
5/ Repeat step 2 => XML error
6/ Apply patch
7/ Repeat step 2 => no errors

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
  Works on 3.20.x

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Fix works for 3.18.x and 3.20.x
3.22 is not impacted

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
opac/oai.pl