[Koha-bugs] [Bug 19259] Overdue rules do not save ( delay field should only accept numbers)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 11 02:24:02 CEST 2017


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #67482|0                           |1
        is obsolete|                            |

--- Comment #14 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 67921
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67921&action=edit
Bug 19259: Enforce type of the delay value when editing overdue rules -
template side only

Overdue rules do not save when a delay that is not an integer > 0,
without any warnings.
This patch forces the user to select a number > 0.

Test plan:
Without this patch applied, enter non-integer value or negative or 0
=> The rule will not be inserted without any warnings.
With this patch applied you will get an message from the browser and the
form will not save

Signed-off-by: David Bourgault <david.bourgault at inlibro.com>

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

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


More information about the Koha-bugs mailing list