23 Sep
2025
23 Sep
'25
4:02 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40861 --- Comment #3 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Jonathan Druart from comment #1)
output_pref can generate that: Koha/DateUtils.pm:284 return if !defined $dt; # NULL date
This precedes: if ($str) { local $@; $dt = eval { dt_from_string($str) }; Koha::Exceptions::WrongParameter->throw("Invalid date '$str' passed to output_pref") if $@; } We passed a str. Date comes from the db. So perhaps NULL or valid date. Should trigger an exception when wrong? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.