[Koha-bugs] [Bug 18501] Automatic refunds need protection from failure

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 20 13:24:39 CEST 2020


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

--- Comment #100 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
We have 2 failures:

1.
#   Failed test 'ModItem tests'
#   at t/db_dependent/Items.t line 152.
Can't use an undefined value as a HASH reference at
/kohadevbox/koha/Koha/Item.pm line 815.

Coming from:
 814             current_branch => C4::Context->userenv->{branch},

2.
#   Failed test 'total_outstanding() tests'
#   at t/db_dependent/Koha/Account/Lines.t line 112.
Can't call method "credit_number_enabled" on an undefined value at
/kohadevbox/koha/Koha/Account/Line.pm line 890.

If it's a credit, do we require a credit_type? If so tests need adjustments.

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


More information about the Koha-bugs mailing list