[Koha-bugs] [Bug 14791] New: Automatically attempt to resend failed notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 7 17:33:07 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14791

            Bug ID: 14791
           Summary: Automatically attempt to resend failed notices
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: larit at student.uef.fi
        QA Contact: testopia at bugs.koha-community.org

Sometimes notices keep failing due to problems in network and they should be
resent. Last week in my local library we experienced some network trouble and
plenty of messages went into failed status. This can also be somewhat risky by
manual SQL queries in production environment. 

Bug 12426 introduces a subroutine C4::Letters::ResendMessage($message_id) for
resending failed messages.

Problem is that if we run this kind of feature as cronjob, we can end up in an
infinite loop of sending the same messages over and over again and they will
never be sent because of missing/invalid to_address or smsalertnumber. However,
Bug 14590 focuses on setting valid messaging preferences for all users. With
the feature presented in Bug 14590 we can assume that all notifications will
have proper messaging preferences. 

If we do not want to rely on Bug 14590:

Another option would be to track messages that we already attempted to resend.
We could try to resend each failed message for lets say 5 times each time
increasing the time between last attempt. Once the message has been attempted
to send 5 times, we will stop our attempts to resend it.

-- 
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