Bug 25472

Summary: Invalid overdue action trigger should cause a warning or error instead of being ignored
Product: Koha Reporter: Victor Grousset/tuxayo <victor>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25049
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Victor Grousset/tuxayo 2020-05-12 22:20:25 UTC
== Invalidity case 1 ==
misc/cronjobs/overdue_notices.pl
just silently does nothing when "Restrict" ticked and nothing else in the same trigger. A notification must be also enabled for the restriction to happen.

== Invalidity case 2 ==
If "Letter" is set to "No notice" , then when "Email" is ticked, it's also silently ignored.


The user should know about the trigger invalidity in the above two case to cause less guesswork when restriction aren't done or notifications not sent.
Could be in the UI, could be the cron job that errors.
Comment 1 Katrin Fischer 2020-05-23 11:37:03 UTC
I think this is somewhat similar to the issues reported on bug 25049 - more validation is needed.