https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40324
--- Comment #4 from Jonathan Druart <[email protected]> --- Created attachment 187717 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187717&action=edit Bug 40324: Prevent 500 when no borrower_debarments for debarred patrons There are reports of crash when viewing patron records that are debarred but does not have a borrower_debarments entry. We should know how those records have been created. It's data inconsistency and I don't think we should deal with that in the code. The DB structure is not really correct: we should not have borrowers.debarred, but we kept it for historical reasons (and reports). This patch fixes the 500, but there are then other problems on the screen: Top of the screen: " Account restricted since " Under the "Restrictions (0)" tab: "Patron is currently unrestricted." -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
