[Koha-bugs] [Bug 21530] overdue_notices.pl aborting because error is not caught
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 8 03:28:31 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21530
Hayley Mapley <hayleymapley at catalyst.net.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hayleymapley at catalyst.net.n
| |z
--- Comment #2 from Hayley Mapley <hayleymapley at catalyst.net.nz> ---
(In reply to Colin Campbell from comment #1)
> Created attachment 80326 [details] [review]
> Patch to test a valid object returned
>
> Adds a run-time test to ensure the assumption of the following code is true.
> Without the patch process aborts on call to branchemail method.
>
> With patch applied if find fails to return a valid library we skip to the
> next and issue an error listing the problematic branchcode
>
> As we dont live in the "best of all possible worlds" code should be more
> pessimistic and test for unexpected results
Hi, is there some test plan for this patch?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list