[Koha-bugs] [Bug 14256] tests for TestBuilder randomly fails

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun May 24 16:40:21 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14256

--- Comment #6 from M. Tompsett <mtompset at hotmail.com> ---
mtompset at debian:~/kohaclone$ prove t/db_dependent/TestBuilder.t
t/db_dependent/TestBuilder.t .. 1/41 DBD::mysql::st execute failed: Cannot add
or update a child row: a foreign key constraint fails
(`koha_library`.`borrower_attribute_types`, CONSTRAINT `category_code_fk`
FOREIGN KEY (`category_code`) REFERENCES `categories` (`categorycode`)) at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key
constraint fails (`koha_library`.`borrower_attribute_types`, CONSTRAINT
`category_code_fk` FOREIGN KEY (`category_code`) REFERENCES `categories`
(`categorycode`)) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key
constraint fails (`koha_library`.`borrower_attribute_types`, CONSTRAINT
`category_code_fk` FOREIGN KEY (`category_code`) REFERENCES `categories`
(`categorycode`)) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
t/db_dependent/TestBuilder.t .. 3/41

With and without the patch.

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


More information about the Koha-bugs mailing list