[Koha-bugs] [Bug 22049] MarkIssueReturned should rely on returndate only

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 15 14:16:38 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22049

--- Comment #19 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
We should hide the SQL error:

t/db_dependent/Circulation/MarkIssueReturned.t ...... 1/3 DBD::mysql::st
execute failed: Incorrect datetime value: 'bad_date' for column 'returndate' at
row 1 [for Statement "UPDATE `issues` SET `returndate` = ? WHERE ( `issue_id` =
? )" with ParamValues: 0='bad_date', 1='281'] at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list