[Koha-bugs] [Bug 29054] New: 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
Mon Sep 20 06:18:14 CEST 2021


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

            Bug ID: 29054
           Summary: Stop warns from advance_notices.pl if not running in
                    verbose mode
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: hayleypelham at catalyst.net.nz
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

When the advance_notices.pl cronjob is run and the EnhancedMessagingPreferences
syspref is set to don't allow, we get the following warning:

The "EnhancedMessagingPreferences" syspref is off.
Therefore, it is unlikely that this script will actually produce any messages
to be sent.
To change this, edit the "EnhancedMessagingPreferences" syspref.

The advance_notices.pl script help says:

-v      Verbose. Without this flag set, only fatal errors are reported.

However, the above warning is shown regardless of whether the script is run
with the verbose flag.

We need to add a verbosity check to this warn

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


More information about the Koha-bugs mailing list