[Koha-bugs] [Bug 21322] process_message_queue.pl --type should take an argument

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 26 13:54:43 CEST 2018


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

Magnus Enger <magnus at libriotech.no> changed:

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

--- Comment #4 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 79406
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79406&action=edit
Bug 21322: process_message_queue.pl --type should take an argument

The help for this script says:
-t --type: If supplied, only processes this type of message ( email, sms )

Currently, the type argument is set up wrong, so it does not look
for an argument. This patch fixes that.

To test, run this command (should work in kohadevbox) or something
similar:

$ sudo koha-shell -c "perl \
/home/vagrant/kohaclone/misc/cronjobs/process_message_queue.pl -v \
--type=sms" kohadev

This should give the following error: "Option type does not take an argument".
Apply the patch and run the same command again. This should not give an
error.

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

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


More information about the Koha-bugs mailing list