[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 Nov 16 08:37:15 CET 2021


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

Fridolin Somers <fridolin.somers at biblibre.com> changed:

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

--- Comment #3 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 127680
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127680&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
Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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


More information about the Koha-bugs mailing list