[Koha-bugs] [Bug 28803] New: process_message_queue.pl dies if any messsages in the message queue contain an invalid to_address

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 3 12:17:21 CEST 2021


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

            Bug ID: 28803
           Summary: process_message_queue.pl dies if any messsages in the
                    message queue contain an invalid to_address
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
                CC: hagud at orex.es, koha-bugs at lists.koha-community.org,
                    testopia at bugs.koha-community.org

We try hard to catch bad email addresses on entry, but we don't always succeed
for cases like patron imports.

However, with the introduction of exceptions in Koha::Email->create on invalid
addresses we now die upon meeting such a case in the database. We should
instead wrap this in a try/catch block and report the failure in the database
and then move on to the next message in the queue instead of exploding.

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


More information about the Koha-bugs mailing list