[Koha-bugs] [Bug 22600] We should add an 'interface' field to accountlines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 9 17:02:26 CEST 2019


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

--- Comment #26 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 87616
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=87616&action=edit
Bug 22600: (QA follow-up) Raise an exception on missing interface param

This patch makes add_credit and add_debit raise a
Koha::Exceptions::MissingParameter exception if the 'interface'
parameter is ommited.

The database will fail to generate the line anyways in strict mode, and
we better handle it gracefuly.

Bonus: fixed the TODOs in the tests.

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list