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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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