https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18420
--- Comment #9 from Marc Véron <[email protected]> --- Problem with: $ prove t/db_dependent/Acquisition/OrderUsers.t t/db_dependent/Acquisition/OrderUsers.t .. DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`koha_kohadev`.`aqorders`, CONSTRAINT `aqorders_currency` FOREIGN KEY (`currency`) REFERENCES `currency` (`currency`) ON DELETE SET NULL ON UPDATE SET NULL) [for Statement "INSERT INTO `aqorders` ( `basketno`, `biblionumber`, `budget_id`, `currency`, `ecost`, `entrydate`, `ordernumber`, `orderstatus`, `quantity`, `quantityreceived`, `rrp`) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )" with ParamValues: 0='7', 1='15', 2='51', 3='EUR', 4=10, 5='01-01-2014', 6=undef, 7=1, 8=2, 9=0, 10=10] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832. DBIx::Class::Storage::DBI::_dbh_execute(): Cannot add or update a child row: a foreign key constraint fails (`koha_kohadev`.`aqorders`, CONSTRAINT `aqorders_currency` FOREIGN KEY (`currency`) REFERENCES `currency` (`currency`) ON DELETE SET NULL ON UPDATE SET NULL) at /home/marc/koha/Koha/Acquisition/Order.pm line 50 -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
