[Koha-bugs] [Bug 30254] New overdue fine applied to incorrectly when using "Refund lost item charge and charge new overdue fine" option in circ rules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 16 15:30:25 CET 2022


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off

--- Comment #16 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Marcel de Rooy from comment #14)
> A first glance tells me: The unit test does not cover all changes made in
> the second patch. There is a huge amount of changed lines and only one very
> trivial test that does not convince me at all.

git diff -w HEAD~3.. Koha/Item.pm

It changes three lines to prevent sending a 'lost_charge' message when there is
no charge to replace  

The test fails before, and passes after and other behaviour is covered by
_set_found_trigger tests. I agree, expanding coverage is good, but should be on
another bug

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


More information about the Koha-bugs mailing list