[Koha-bugs] [Bug 15757] New: Hard coded due loan/renewal period of 21 days if no circ rule found in C4::Circulation::GetLoanLength
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Feb 8 15:14:26 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15757
Bug ID: 15757
Summary: Hard coded due loan/renewal period of 21 days if no
circ rule found in C4::Circulation::GetLoanLength
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: blocker
Priority: P5 - low
Component: Circulation
Assignee: koha-bugs at lists.koha-community.org
Reporter: nick at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
A library reported recently that an item with circulation period set to 0 for
all patron categories with a few exceptions set was checked out and was given a
checkout period of 21 days. This comes from the last lines in the
GetLoanLength subroutine:
1475 # if no rule is set => 21 days (hardcoded)
1476 return {
1477 issuelength => 21,
1478 renewalperiod => 21,
1479 lengthunit => 'days',
1480 };
1481
This should fire a1475 # if no rule is set => 21 days (hardcoded)
1476 return {
1477 issuelength => 21,
1478 renewalperiod => 21,
1479 lengthunit => 'days',
1480 };
1481 warning and/or stop the checkout rather than defaulting.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list