[Koha-bugs] [Bug 27265] Process message queue cron should be able to take multiple types as a parameter

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 8 04:40:47 CET 2021


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

--- Comment #8 from David Nind <david at davidnind.com> ---
I get this message when running the script after the patch is applied
(koha-testing-docker):

root at kohadevbox:koha(bz27265)$ perl misc/cronjobs/process_message_queue.pl -c
HOLD
Global symbol "$type" requires explicit package name (did you forget to declare
"my $type"?) at misc/cronjobs/process_message_queue.pl line 89.
Global symbol "$letter_code" requires explicit package name (did you forget to
declare "my $letter_code"?) at misc/cronjobs/process_message_queue.pl line 90.
Type of arg 1 to Try::Tiny::catch must be block or sub {} (not reference
constructor) at misc/cronjobs/process_message_queue.pl line 96, near "};"
Type of arg 1 to Try::Tiny::try must be block or sub {} (not reference
constructor) at misc/cronjobs/process_message_queue.pl line 96, near "};"
Execution of misc/cronjobs/process_message_queue.pl aborted due to compilation
errors.

It worked with a single letter type before the patch was applied.

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


More information about the Koha-bugs mailing list