https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31143
Shi Yao Wang <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #170698|0 |1 is obsolete| | --- Comment #60 from Shi Yao Wang <[email protected]> --- Created attachment 171976 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=171976&action=edit Bug 31143: Work around subtracting datetime if date_of_birth undef To test: 1) Run the following SQL: update borrowers set dateofbirth = '0000-00-00' where borrowernumber = 45; 2) Access the borrower edit page through staff UI: http://localhost:8081/cgi-bin/koha/members/memberentry.pl?op=edit_form&destination=circ&borrowernumber=45 3) Notice you get an error 4) Run the script: perl misc/maintenance/search_for_data_inconsistencies.pl 5) Notice you get an error 6) Apply patch restart plack and repeat -> no errors This is not perfect but its all I have time for, for now. Follow-ups are welcomed as always. Signed-off-by: David Nind <[email protected]> Signed-off-by: Shi Yao Wang <[email protected]> -- You are receiving this mail because: 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/
