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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to