[Koha-bugs] [Bug 17502] Resolve internal server error on 0000-00-00 (with Plack)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 16 19:18:34 CET 2017


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

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mtompset at hotmail.com

--- Comment #12 from M. Tompsett <mtompset at hotmail.com> ---
(In reply to Marcel de Rooy from comment #9)
> Main change has been used in 15822.
> So forget the rest.

Well, unless you care about type checking, if you actually right your test, you
will still trigger an error, because dt is a string and not a DateTime.
A quick perusal of the code shows lots of dt_from_string calls, and lots of
$foo's used. Given the number of $foo's, I suspect they probably are dates,
because otherwise we would have hit this problem sooner. So leaving it closed,
because type checking the programmer's code should be part of the QA process.
:)

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


More information about the Koha-bugs mailing list