[Koha-bugs] [Bug 26884] New: overdue_notices.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 1 09:16:19 CET 2020


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

            Bug ID: 26884
           Summary: overdue_notices.pl
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: koha at trust-box.at
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

command line script overdue_notices.pl should 

1. moved to a module (see
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16063)

2. refactored/cleaned up

most importantly 
3. made idempotent
this could be achived via a checksum/signature including the "defining" fields
for the message ie

borrowernumber
subject
content
metadata
letter_code
message_transport_type
to_address
from_address
reply_address
content_type

so before a message is created a checksum is calculated and a look-up in the
database is done whether the message already exists (maybe be ignored via a
flag)

so no matter how often or "how/too late" the script is executed, no message is
"forgotten"/send multiple times

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


More information about the Koha-bugs mailing list