https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42998 --- Comment #6 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 205480 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=205480&action=edit Bug 42998: (QA follow-up) Reject a malformed requested due_date cleanly A due_date that passes the swagger date-time format check (which permits an instant with no timezone offset) but fails Koha's own stricter RFC3339 parser was falling through to dt_from_string's uncaught exception, producing a generic 500 instead of a clear 400. Wrap the parse and return render_invalid_parameter_value on failure, and cover it with a test. Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.