Bug 11456

Summary: Add validation to circulation rules
Product: Koha Reporter: Christopher Brannon <cbrannon>
Component: System AdministrationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, gmcharlt, hebah, lauren_denny, rcoert
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Christopher Brannon 2013-12-27 16:40:04 UTC
There is no mechanism in the smart-rules.pl to indicate that information entered was invalid.  The rule is simply created omitting invalid information.  

For example, if you create a rule and put an invalid date in the hard due date, the rule is created, but the date is omitted.  There is no warning that it changed what was entered, or what was changed.

Christopher
Comment 1 Katrin Fischer 2023-07-09 08:38:52 UTC
I don't think it's possible to enter invalid dates with flatpickr, at least I didn't manage to, but there are also other fields like the numeric ones, that we could validate.