https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21530 Hayley Mapley <hayleymapley@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hayleymapley@catalyst.net.n | |z --- Comment #2 from Hayley Mapley <hayleymapley@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.