http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9272 --- Comment #3 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- (In reply to comment #2)
Even without Plack the issue exists. Your patch works great but I am under the impression that the query is useless: There is the "on delete cascade" option on the constraint (authorised_values_branches_ibfk_1). So normally the deletion should be automatic and then this query never deletes something.
I can provide a patch if you confirm that the query is useless.
I can confirm that when I tested my patch there were never any rows for that query to delete. Now that you point out the constraint, I realize that this was not a coincidence. A counter-patch would be welcomed. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.