[Koha-bugs] [Bug 19841] AddMember should raise an exception if categorycode is invalid

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 20 20:29:25 CET 2017


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

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Note: 
- If the code is not catching problems, it is already failing, and it will now
fail in a different way. But no behaviour change.
- If the code is catching problems (either Try::Tiny or just eval) the thing to
test, is if the code handling the problem (in AddReturn) is expectig DBIC
specific exceptions, die, etc. I grepped the code and didn't find places in
which AddReturn is eval-ed and THEN the failure message is verified/inspected.

This means the behaviour is not changed by this patches. But another set of
eyes is welcome.

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


More information about the Koha-bugs mailing list