"Library deleted" failing

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

"Library deleted" failing

MagnusE
Dear koha developers,

I hope you do not hate me for reporting so many bugs... :)

During the koha installation I chose to install the sample of Library/Branches.
Now I want to delete them, using the webpage
http://localhost:8080/cgi-bin/koha/admin/branches.pl, of course... I
have successfully deleted all of them except of libraries of Franklin,
Midway, Pleasant Valley and Springfield. When I select to delete these
libraries, koha shows me the message "Library deleted" in the same
webpage, but the library persists.

/var/log/koha/koha-error_log:
[...] [error] [client 127.0.0.1] [...] branches.pl: DBD::mysql::st
execute failed: Cannot delete or update a parent row: a foreign key
constraint fails (`koha3rocks/borrowers`, CONSTRAINT
`borrowers_ibfk_2` FOREIGN KEY (`branchcode`) REFERENCES `branches`
(`branchcode`)) at /usr/share/koha/lib/C4/Branch.pm line 473.,
referer: http://localhost:8080/cgi-bin/koha/admin/branches.pl?branchcode=MPL&branchname=Midway&op=delete


My best wishes, and keep up the magnificent work,

Constantine Tsardounis
http://www.costis.name


_______________________________________________
Koha-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/koha-devel
_______________________________________________
Koha-devel mailing list
[hidden email]
http://lists.koha.org/mailman/listinfo/koha-devel