[Koha-bugs] [Bug 29054] Stop warns from advance_notices.pl if not running in verbose mode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 21 01:49:16 CEST 2021


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

--- Comment #1 from Hayley Pelham <hayleypelham at catalyst.net.nz> ---
Created attachment 125086
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125086&action=edit
Bug 29054: Add verbose check for warn in advance_notices.pl

To test:
1) Set EnhancedMessagingPreferences to Don't allow
2) In the koha-shell, run misc/cronjobs/advance_notices.pl -c
3) Note that you see the warning "The "EnhancedMessagingPreferences"
syspref is off... etc."
4) Apply the patch and restart services
5) In the koha-shell, run misc/cronjobs/advance_notices.pl -c and note
the warning no longer shows
6) Still in the shell, run misc/cronjobs/advance_notices.pl -c -v and
note the warning does show

Sponsored-by: Catalyst IT

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


More information about the Koha-bugs mailing list