[Bug 24360] New: issues.renewal limits to 127
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24360 Bug ID: 24360 Summary: issues.renewal limits to 127 Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: jonathan.druart@bugs.koha-community.org QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com Certainly not a big deal but reporting it here anyway.
From a test in t/db_dependent/Circulation/issue.t:
koha_1 | DBD::mysql::st execute failed: Out of range value for column 'renewals' at row 1 [for Statement "UPDATE issues SET date_due = ?, renewals = ?, lastreneweddate = ? koha_1 | WHERE borrowernumber=? koha_1 | AND itemnumber=?" with ParamValues: 0='2019-12-24 00:00', 1=128, 2='2019-12-24', 3='494', 4='1266'] at /kohadevbox/koha/C4/Circulation.pm line 2936. The values for issue has been generated from TestBuilder, which set issues.renewal to 127. However the test calls AddRenewal which increments this value, and we reach the limit. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org