[Koha-bugs] [Bug 27892] New: api/v1/acquisitions_vendors.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 8 11:22:38 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27892

            Bug ID: 27892
           Summary: api/v1/acquisitions_vendors.t is failing randomly
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org

10:51:09 koha_1       | #   Failed test 'No tests run for subtest "list() and
delete() tests | authorized user"'
10:51:09 koha_1       | #   at t/db_dependent/api/v1/acquisitions_vendors.t
line 112.
10:51:09 koha_1       | DBIx::Class::Storage::DBI::_dbh_execute(): DBI
Exception: DBD::mysql::st execute failed: Cannot delete or update a parent row:
a foreign key constraint fails (`koha_kohadev`.`vendor_edi_accounts`,
CONSTRAINT `vfk_vendor_id` FOREIGN KEY (`vendor_id`) REFERENCES `aqbooksellers`
(`id`)) [for Statement "DELETE FROM `aqbooksellers`"] at
/kohadevbox/koha/Koha/Objects.pm line 208
10:51:09 koha_1       | # Looks like your test exited with 255 just after 1.

Master_D9 (#1590)

Looks like we are missing a "on delete cascade" on vendor_edi_accounts

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list