[Koha-bugs] [Bug 26589] New: t/db_dependent/OAI/Sets.t unit test fails due to OAI-PMH:AutoUpdateSets syspref
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 1 06:42:34 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26589
Bug ID: 26589
Summary: t/db_dependent/OAI/Sets.t unit test fails due to
OAI-PMH:AutoUpdateSets syspref
Change sponsored?: Sponsored
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
Priority: P5 - low
Component: Test Suite
Assignee: alexbuckley at catalyst.net.nz
Reporter: alexbuckley at catalyst.net.nz
QA Contact: testopia at bugs.koha-community.org
When the OAI-PMH:AutoUpdateSets syspref is disabled the
t/db_dependent/OAI/Sets.t unit tests all pass successfully.
But when the syspref is enabled then the unit test fail with this error:
t/db_dependent/OAI/Sets.t .. 1/147 C4::OAI::Sets::AddOAISetsBiblios(): DBI
Exception: DBD::mysql::st execute failed: Duplicate entry '39-46' for key
'PRIMARY' [for Statement "
INSERT INTO oai_sets_biblios (set_id, biblionumber)
VALUES (?,?)
" with ParamValues: 0='46', 1=39] at t/db_dependent/OAI/Sets.t line 372
# Looks like your test exited with 255 just after 100.
t/db_dependent/OAI/Sets.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 47/147 subtests
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list