[Koha-bugs] [Bug 18420] Some tests fail without patron category 'S'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 12 21:37:56 CEST 2017


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

--- Comment #9 from Marc Véron <veron at veron.ch> ---
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.


More information about the Koha-bugs mailing list