[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:44:29 CEST 2017


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

--- Comment #10 from Marc Véron <veron at veron.ch> ---
Problem with:
prove t/db_dependent/Holds/LocalHoldsPriority.t

t/db_dependent/Holds/LocalHoldsPriority.t .. 1/6 Odd number of elements in
anonymous hash at t/db_dependent/Holds/LocalHoldsPriority.t line 60.
Odd number of elements in anonymous hash at
t/db_dependent/Holds/LocalHoldsPriority.t line 60.
Odd number of elements in anonymous hash at
t/db_dependent/Holds/LocalHoldsPriority.t line 60.
Odd number of elements in anonymous hash at
t/db_dependent/Holds/LocalHoldsPriority.t line 60.
Odd number of elements in anonymous hash at
t/db_dependent/Holds/LocalHoldsPriority.t line 60.
DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key
constraint fails (`koha_kohadev`.`reserves`, CONSTRAINT `reserves_ibfk_1`
FOREIGN KEY (`borrowernumber`) REFERENCES `borrowers` (`borrowernumber`) ON
DELETE CASCADE ON UPDATE CASCADE) [for Statement "INSERT INTO `reserves` (
`biblionumber`, `branchcode`, `expirationdate`, `found`, `itemnumber`,
`itemtype`, `priority`, `reservedate`, `reservenotes`, `waitingdate`) VALUES (
?, ?, ?, ?, ?, ?, ?, ?, ?, ? )" with ParamValues: 0='45', 1='B', 2=undef,
3=undef, 4=undef, 5=undef, 6=1, 7='2017-04-12', 8='', 9=undef] 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`.`reserves`, CONSTRAINT
`reserves_ibfk_1` FOREIGN KEY (`borrowernumber`) REFERENCES `borrowers`
(`borrowernumber`) ON DELETE CASCADE ON UPDATE CASCADE) at
/home/marc/koha/Koha/Object.pm line 121

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


More information about the Koha-bugs mailing list