[Koha-bugs] [Bug 10481] No enrollment fee when changing patron category

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 16 09:45:26 CEST 2013


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

--- Comment #7 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to Srdjan Jankovic from comment #6)
> prove t/db_dependent/Members/AddEnrolmentFeeIfNeeded.t
> t/db_dependent/Members/AddEnrolmentFeeIfNeeded.t .. Use of uninitialized
> value in pattern match (m//) at C4/SQLHelper.pm line 407.
> DBD::mysql::st execute failed: Cannot add or update a child row: a foreign
> key constraint fails (`koha`.`borrowers`, CONSTRAINT `borrowers_ibfk_1`
> FOREIGN KEY (`categorycode`) REFERENCES `categories` (`categorycode`)) at
> C4/SQLHelper.pm line 184.

It seems you don't have the good category codes. You have to insert sample data
before executing this unit tests file.

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


More information about the Koha-bugs mailing list