[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
Wed Oct 10 12:55:55 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21530
Colin Campbell <colin.campbell at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |Needs Signoff
Assignee|koha-bugs at lists.koha-commun |colin.campbell at ptfs-europe.
|ity.org |com
--- Comment #1 from Colin Campbell <colin.campbell at ptfs-europe.com> ---
Created attachment 80326
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80326&action=edit
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
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list