[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
Thu Oct 12 21:49:25 CEST 2017


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

David Bourgault <david.bourgault at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |In Discussion
                 CC|                            |david.bourgault at inlibro.com

--- Comment #21 from David Bourgault <david.bourgault at inlibro.com> ---
Hi Katrin,

I can still reproduce the problem on my end... Maybe this more detailed test
plan can help :

0) Create a circulation rules under Koha > Admin > Circulation and fine rules
with the value "0" for "Suspension days" (this maps to finedays in the
database)
1) Select a test patron with the corresponding patron category.
2) Checkout an item (with the item_type corresponding to the rule set in step
#0)for this patron, setting a due date in the past.
3) Manually set an indefinite restriction on this user
4) Check-in the item.
5) There should be a warning reminding that the user is debarred/restricted,
but it is not there.

If finedays is > 0, the reminder (or the new suspension) appears.
If the item is not overdue, the reminder appears.
If the item is overdue AND finedays is 0, the reminder does not appear.

To answer your questions :
A) You can restrict the user before or after checking out, this does not affect
the result in my testing (but you will need to override the restriction).
B) You might manually restrict users for different reasons, regardless of your
circulation rules. This bug is only about a missing warning, not a missing
suspension.

The issue happens because of a "else if" which does not make sense if finedays
is set to 0.

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


More information about the Koha-bugs mailing list