[Koha-bugs] [Bug 10332] UT: CourseReserves.t needs to create its own data

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 24 23:48:36 CEST 2013


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chris at bigballofwax.co.nz

--- Comment #2 from Chris Cormack <chris at bigballofwax.co.nz> ---
Hi Jonathan 

I get this

DBD::mysql::db do failed: Cannot truncate a table referenced in a foreign key
constraint (`koha_persona`.`course_instructors`, CONSTRAINT
`course_instructors_ibfk_2` FOREIGN KEY (`course_id`) REFERENCES
`koha_persona`.`courses` (`course_id`)) at t/db_dependent/CourseReserves.t line
22.
DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key
constraint fails (`koha_persona`.`items`, CONSTRAINT `items_ibfk_2` FOREIGN KEY
(`homebranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE) at
C4/Items.pm line 2105.


When trying on my machine

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


More information about the Koha-bugs mailing list