[Koha-bugs] [Bug 14784] Missing checkin message for debarred patrons when issuing rules 'fine days = 0'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 21 21:22:09 CEST 2020


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

Alexis Ripetti <alexis.ripetti at inLibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off
                 CC|                            |alexis.ripetti at inLibro.com

--- Comment #46 from Alexis Ripetti <alexis.ripetti at inLibro.com> ---

This patch adds tests for PrevDebarred message of AddReturn when finesdays = 0.
I also changed one thing that seemed weird to me in the C4/Circulation.pm file.

Test plan:
Before

1) Select a user with active restrictions
2) Make sure finesday=0 for the user category
3) Checkout and return an item (not overdue) : a previous restriction reminder
will appear
4) Checkout and return an overdue item : no previous restriction reminder will
appear

After applying patch:
Same steps, but a reminder should appear for step 4)

And finally:
5) prove -v t/db_dependent/Circulation.t


All the tests should now pass.

Waiting for your comments.

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


More information about the Koha-bugs mailing list