[Koha-bugs] [Bug 31120] New: Items will renew for zero ( 0 ) days if renewalperiod is blank/empty value
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 7 21:14:43 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31120
Bug ID: 31120
Summary: Items will renew for zero ( 0 ) days if renewalperiod
is blank/empty value
Change sponsored?: ---
Product: Koha
Version: 21.05
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Circulation
Assignee: koha-bugs at lists.koha-community.org
Reporter: kyle at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
If the rule renewalperiod is the blank empty string instead of being
null/undefined or non-existant, Koha will interpret the renewal period as being
zero days instead of falling back to the issuelength rule.
It makes sense to me that a literal 0 here should make it renew for zero days
even though that is nonsensical.
--
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