[Bug 2882] New: Delete library silently fails when patrons exist for that library
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2882 Summary: Delete library silently fails when patrons exist for that library Product: Koha Version: rel_3_0 Platform: PC OS/Version: Linux - Other Status: NEW Severity: normal Priority: P3 Component: Architecture, internals, and plumbing AssignedTo: galen.charlton@liblime.com ReportedBy: koha@brinkerhoff.org QAContact: koha-bugs@lists.koha.org When I try to delete the 'Franklin' library from the sample data included with Koha 3.00.00 the web interface claims the library entry was deleted: Library deleted However the page refreshes and the library is still present. [Tue Dec 23 14:48:31 2008] [error] [client 216.107.221.XXX] [Tue Dec 23 14:48:31 2008] branches.pl: DBD::mysql::st execute failed: Cannot delete or update a parent row: a foreign key constraint fails (`koha/borrowers`, CONSTRAINT `borrowers_ibfk_2` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`)) at /usr/share/koha/lib/C4/Branch.pm line 473., referer: http://XXXXXXXXXX:8080/cgi-bin/koha/admin/branches.pl?branchcode=FRL&branchname=Franklin&op=delete ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
participants (1)
-
bugzilla-daemon@pippin.metavore.com