[Koha-bugs] [Bug 26232] New: undefined fine grace period kills koha

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 18 07:27:47 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26232

            Bug ID: 26232
           Summary: undefined fine grace period kills koha
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: didier.gautheron at biblibre.com
          Reporter: didier.gautheron at biblibre.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

Staff can create smart rules with empty (undefined) grace period, but then koha
returns an internal error in :

DateTime::Duration::new('DateTime::Duration', 'days', undef) called at
/kohadevbox/koha/C4/Circulation.pm line 2395
C4::Circulation::_calculate_new_debar_dt(HASH(0x564b11658e58)',
'HASH(0x564b11836c28)', 'DateTime=HASH(0x564b1164d688)',
'DateTime=HASH(0x564b116787d0)') called at /kohadevbox/koha/C4/Circulation.pm
line 2451

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


More information about the Koha-bugs mailing list