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@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@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.