[Koha-bugs] [Bug 23696] build_oai_sets.pl should take biblios from deletedbiblio_metadata too
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 10 08:37:56 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23696
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
CC| |katrin.fischer at bsz-bw.de
--- Comment #4 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
This patch appears pretty straight-forward and it works for me, but I am having
trouble with rerunning the script:
1) On running the script a second time, I get a lot of errors:
DBD::mysql::st execute failed: Duplicate entry '50-1' for key 'PRIMARY' [for
Statement "
INSERT INTO oai_sets_biblios (set_id, biblionumber)
VALUES (?,?)
" with ParamValues: 0='1', 1=50] at /home/vagrant/kohaclone/C4/OAI/Sets.pm
line 597.
DBD::mysql::st execute failed: Duplicate entry '52-1' for key 'PRIMARY' [for
Statement "
INSERT INTO oai_sets_biblios (set_id, biblionumber)
VALUES (?,?)
" with ParamValues: 0='1', 1=52] at /home/vagrant/kohaclone/C4/OAI/Sets.pm
line 597.
2) Also the links for Metadata and Set don't appear to work in our HTML
representation of the OAI-Server:
/cgi-bin/koha/oai.pl?verb=ListRecords&metadataPrefix=oai_dc&set=TEST
3) Even without the patch and after rerunning the script reporting 45 records
(instead of the 46 it should have), I still can see a deleted record in the web
output of the set.
Can you please check these things and let me know? 3 might be related to this
patch (blocker), the other 2 possibly separate bugs?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list