[Bug 10165] New: Trying to clear reading history when AnonymousPatron unset and DEBUG is on causes fatal error
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10165 Bug ID: 10165 Summary: Trying to clear reading history when AnonymousPatron unset and DEBUG is on causes fatal error Classification: Unclassified Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: critical Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: jcamins@cpbibliography.com CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com Depends on: 6506 Blocks: 9944 I get the following error: DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`koha`.`old_issues`, CONSTRAINT `old_issues_ibfk_1` FOREIGN KEY (`borrowernumber`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE SET NULL) at /home/jcamins/kohaclone/C4/Circulation.pm line 2859. at /home/jcamins/kohaclone/opac/opac-privacy.pl line 77 This should be addressed by catching any errors thrown by that query, and setting $anonymisation_err appropriately. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10165 Bug 10165 depends on bug 6506, which changed state. Bug 6506 Summary: deleting patron history missing errors http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6506 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10165 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID CC| |jonathan.druart@biblibre.co | |m --- Comment #1 from Jonathan Druart <jonathan.druart@biblibre.com> --- This means you run the OPAC with DEBUG set and enabled a feature without configuring it :) IMO this is not valid. Note that the error is correctly handled if DEBUG is off. Please reopen if you disagree. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org