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

Martin Renvoize <[email protected]> changed:

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

--- Comment #3 from Martin Renvoize <[email protected]> ---
Created attachment 167710
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167710&action=edit
Bug 37075: Message queue processor will fail to send any message unless
letter_code is passed

For reasons unknown, GetOptions is inserting an empty string into the
letter_code list. If you are running the script with a letter code filter, the
empty string is added to the OR so it functions. If no letter_code is passed,
the search requires the letter code to be an empty string, which will of course
fail. Even more perplexing is that this does not happen for the type list which
is essentially identical code.

Test Plan:
1) Generate some messages in the message queue
2) Run `process_message_queue.pl -v -c`
3) Note nothing happens
4) Apply this patch
5) Repeat step 2
6) Messages are sent!

Signed-off-by: David Nind <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to