[Koha-bugs] [Bug 8251] Patrons are systematically debarred at checkin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 18 10:21:11 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8251

--- Comment #27 from Koha Team Lyon 3 <koha at univ-lyon3.fr> ---
This patch should not be pushed because it causes false calculation of late
delay when patron is more than one month late.

Here's how you can test it :

First you have to install patch of Bug 8348
(http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10619) to correct 2
errors on day closed calculation (if not, day_month_closed_days and
single_holidays won't be subtracted in 'while( DateTime...' loop, so the test
would be falsed). 
Another patch fixes these errors and could be simpler and prefered but I have
not tested it (bug 8418 :
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10840).

Then you must have Follow-up of this page
(http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10418) installed
too.

In our install the finesCalendar syspref is set to 'not including days the
library is closed' and the useDaysMode syspref to 'the calendar to push the due
date to the next open day'.

Go to checkout tab of a patron.
paste a barcode in barcode textbox

In "specify due date" textbox set a date in order that the patron should be
more than one month late (say '2012-05-07').
checkout and confirm

Go to Calendar Tool and set between date due and today a number of closed days
slightly greater than the nth day (7)  of date due (say 9).

Checkin the barcode.

You 'll see that patron is not restricted.

Uninstall the previous "Patrons are systematically debarred at checkin" patch,
Go to obsolete patches of this page and install this one (Patrons get
incorrectly debarred, 2012-07-02) :
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10597

Redo the same test.

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


More information about the Koha-bugs mailing list