[Koha-bugs] [Bug 25039] Move new due calculation to Koha::Checkout

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 3 15:35:13 CEST 2020


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

--- Comment #5 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #4)
> I don't think we should start testing all types of all our parameters, that
> will be a pain.
> We shoult assume $patron is a Koha::Patron, and *date* is a DateTime.

I you are implying that this shouldn't be enforced in a coding guideline and
QA, I *might* agree. But if a bug implements that, I wouldn't reject it because
of that.

That said, we've been doing this for a while when we thought it was relevant or
a good way to notify the caller so they take actions depending on the failure.

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


More information about the Koha-bugs mailing list