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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/