[Koha-bugs] [Bug 29145] Allow patrons to have overdue items that would not result in debarment when removing overdue debarments

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 13 15:30:24 CEST 2022


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

David Gustafsson <glasklas at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff

--- Comment #11 from David Gustafsson <glasklas at gmail.com> ---
(In reply to Andrew Fuerste-Henry from comment #9)
> I went through the test plan I posted above, but hit an issue at step 14. I
> have a patron with two items both 2 days overdue. My overdue notice triggers
> generate a notice and a restriction at 2 days overdue. When I run the
> overdues cron, the notice and restriction generate as expected. I have
> AutoRemoveOverduesRestrictions set to when_no_overdue_causing_debarment. My
> restriction gets removed when I check in the first of the two items. This is
> incorrect; I should have to check in both items for the restriction to be
> removed.

Hi! Thanks for the feedback and the test plan. Without it would not have
discovered the edge-case where overdue items should trigger debarments when are
delayed the same number of days that would trigger debarment. Have also updated
the tests to reflect your test plan and result in the same error with the
previous code.

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


More information about the Koha-bugs mailing list