Koha/members
Galen Charlton e203808549 bug 3159: allow editing child patron that has no valid guarantor
If a patron with a child patron category is not linked
to a guarantor (or a valid one), it was not possible to edit
the child patron's record.  When attempt, no changes were saved
and the following error is recorded in the Apache error log:

memberentry.pl: DBD::mysql::st execute failed: Cannot add or
update a child row: a foreign key constraint
fails (`gmc_koha/borrowers`, CONSTRAINT `borrowers_ibfk_2`
FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`)) ...

This patch fixes this bug, allowing a child patron record to be
edited even if it has no guarantor.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-24 19:49:05 -05:00
..
boraccount.pl Put patron Privilege 'updatecharges' to use on fines pages 2009-01-06 20:40:45 -06:00
borrowers_details.pl Bug Fixing 1782 patch 2008-05-12 09:42:25 -05:00
deletemem.pl Bug 2900: fix GetPendingIssues. 2009-01-08 11:08:27 -06:00
guarantor_search.pl fix for bug 2221: Problems with Guarantor Fields... 2008-07-16 18:26:27 -05:00
mancredit.pl Put patron Privilege 'updatecharges' to use on fines pages 2009-01-06 20:40:45 -06:00
maninvoice.pl Put patron Privilege 'updatecharges' to use on fines pages 2009-01-06 20:40:45 -06:00
member-flags.pl bug2580: category name and home library will now correctly display on all patron tabs 2008-09-09 10:52:39 -05:00
member-password.pl More corrections to fix Bug 2649, "minPasswordLength Sys Pref does nothing." Previous patch included typo copied from member-password.pl. Both are corrected now. 2008-10-16 09:23:33 -05:00
member-picupload.pl members subdir - Dates.pm integration and warnings fixes. 2007-12-04 18:21:06 -06:00
member.pl Bug Fixing 1782 patch 2008-05-12 09:42:25 -05:00
memberentry.pl bug 3159: allow editing child patron that has no valid guarantor 2009-04-24 19:49:05 -05:00
members-home.pl Bug Fixing 1782 patch 2008-05-12 09:42:25 -05:00
messaging.pl Hiding SMS messaging preferences if there is no SMSSendDriver defined in system preferences. 2009-01-06 20:29:53 -06:00
moremember.pl Bug 2900: fix GetPendingIssues. 2009-01-08 11:08:27 -06:00
patronimage.pl Completing adding patronimage upload form to patron details screen. 2008-03-06 06:25:13 -06:00
pay.pl Put patron Privilege 'updatecharges' to use on fines pages 2009-01-06 20:40:45 -06:00
readingrec.pl Adding a few columns to members/readingrec.pl 2008-10-16 14:47:21 -05:00
setdebar.pl Patch from Joe Atzberger to remove $Id$ and $Log$ from scripts 2007-10-18 16:27:04 -05:00
setstatus.pl - Changes to the way patron renewals are handled. Circulation page now offers 'renew' link alongside warning about patron expiration (as in dev_week), using the new setstatus script. 2007-12-17 19:24:49 -06:00
update-child.pl Fix upgrade-child: could not update child unless guarantor was defined. Also, limit upgrade path to C -> A . 2008-06-12 16:36:50 -05:00