[Koha-bugs] [Bug 33053] Tables item_groups and recalls have a biblio_id column with a default of 0
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 11 21:57:23 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33053
--- Comment #7 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 151094
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151094&action=edit
Bug 33053: Handle invalid biblio_id more robustly
This patch addresses the fact the invalid FK error might differ under
some circumstances. We could try to catch the exception adding another
case, but I think this pattern is cleaner and the authors didn't provide
a fix.
We can discuss it later, as this controller class has several things to
review.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list