[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
Mon May 27 11:07:09 CEST 2013


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

--- Comment #4 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to comment #2)
> 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.

I cannot reproduce :-/
The error is weird, the script truncate the course_instructors table before the
courses table. So normally no course_instructors.course_id should refers to a
courses.course_id.

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


More information about the Koha-bugs mailing list