[Koha-bugs] [Bug 26502] New: ExpireReservesMaxPickUpDelayCharge allows invalid values to be set

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 21 16:11:57 CEST 2020


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

            Bug ID: 26502
           Summary: ExpireReservesMaxPickUpDelayCharge allows invalid
                    values to be set
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5 - low
         Component: System Administration
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: joonas.kylmala at helsinki.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

One can set invalid values like "0,00" to the syspref
ExpireReservesMaxPickUpDelayCharge and it will cause the
cronjobs/holds/cancel_expired_holds.pl to fail:

> Argument "0,00" isn't numeric in numeric gt (>) at [...]

Expected behaviour: When setting the syspref in the staff interface Koha should
should disallow setting invalid values.

-- 
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