"Library deleted" failing

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

"Library deleted" failing

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.

[...] [error] [client] [...] 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

Koha-devel mailing list
[hidden email]
Koha-devel mailing list
[hidden email]