Bug 11456 - Add validation to circulation rules
Summary: Add validation to circulation rules
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement with 5 votes (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-27 16:40 UTC by Christopher Brannon
Modified: 2024-04-03 20:47 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.