[Bug 31487] New: Add emails to message queue by longoverdue script options
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Bug ID: 31487 Summary: Add emails to message queue by longoverdue script options Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: thibaud.guillot@biblibre.com QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz Some customers request the possibility of sending an additional reminder when processing longoverdues. I think this may be useful for some and given that it remains an option, it does not handicap those who do not want to use it. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 --- Comment #1 from Thibaud Guillot <thibaud.guillot@biblibre.com> --- Created attachment 139975 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139975&action=edit Bug 24857: No words Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Thibaud Guillot <thibaud.guillot@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #139975|0 |1 is obsolete| | Attachment #139975|1 |0 is patch| | --- Comment #2 from Thibaud Guillot <thibaud.guillot@biblibre.com> --- Comment on attachment 139975 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139975 Bug 24857: No words
From 31ab4940449cec56bdb164e34c140b2f80c4c36a Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi <tomascohen@theke.io> Date: Tue, 9 Aug 2022 14:00:40 -0300 Subject: [PATCH] Bug 24857: No words
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
https://bugs.koha-community.org/show_bug.cgi?id=31487 --- api/v1/swagger/swagger.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/api/v1/swagger/swagger.yaml b/api/v1/swagger/swagger.yaml index b152a6f7df..597af62166 100644 --- a/api/v1/swagger/swagger.yaml +++ b/api/v1/swagger/swagger.yaml @@ -584,7 +584,7 @@ tags: - description: "Manage import batches\n" name: import_batches x-display-name: Import batches - - description: "Manate item groups\n" + - description: "Manage item groups\n" name: item_groups x-displayName: Item groups - description: "Manage items\n" -- 2.25.1
-- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 --- Comment #3 from Thibaud Guillot <thibaud.guillot@biblibre.com> --- Created attachment 139976 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139976&action=edit Bug 31487: Add an option to send by mail longoverdue items to borrowers Test plan: 1) You must have longoverdue items to one or many borrowers 2) You must create a notice template (Notices & slips section) 3) You can run the script misc/cronjobs/longoverdue.pl manually without --mail option first (see -h or --help for more info about the script) 4) You must see an output with some longoverdues (step 1 required) 5) Now you can run the script with --mail option but like its specify in "help" option you must add option --code="" (relative to your code template) and --branchcode="". 6) Normally you will see after the classic output a new block with emails added to the message queue and it will be sent on the next misc/cronjobs/process_message_queue.pl script iteration -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Thibaud Guillot <thibaud.guillot@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #139976|0 |1 is obsolete| | --- Comment #4 from Thibaud Guillot <thibaud.guillot@biblibre.com> --- Created attachment 139977 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139977&action=edit Bug 31487: Add an option to send by mail longoverdue items to borrowers Test plan: 1) You must have longoverdue items to one or many borrowers 2) You must create a notice template (Notices & slips section) 3) You can run the script misc/cronjobs/longoverdue.pl manually without --mail option first (see -h or --help for more info about the script) 4) You must see an output with some longoverdues (step 1 required) 5) Now you can run the script with --mail option but like its specify in "help" option you must add option --code="" (relative to your code template) and --branchcode="". 6) Normally you will see after the classic output a new block with emails added to the message queue and it will be sent on the next misc/cronjobs/process_message_queue.pl script iteration -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 --- Comment #5 from Thibaud Guillot <thibaud.guillot@biblibre.com> --- (In reply to Thibaud Guillot from comment #1)
Created attachment 139975 [details] Bug 24857: No words
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Sorry for this mistake I missed my attachment -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Thibaud Guillot <thibaud.guillot@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |no-sandbox -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply CC| |lucas@bywatersolutions.com --- Comment #6 from Lucas Gass <lucas@bywatersolutions.com> --- No longer applies to current master. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Andrew Fuerste-Henry <andrewfh@dubcolib.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrewfh@dubcolib.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Eric Swenson <eric@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eric@bywatersolutions.com --- Comment #7 from Eric Swenson <eric@bywatersolutions.com> --- This would be a beneficial feature for many of our library partners that are not open 7 days a week. Since they use useDaysMode to push back the due dates of items this makes timing the notice of items becoming long overdue very difficult. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Thibaud Guillot (thibaud_g) <thibaud.guillot@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Thibaud Guillot (thibaud_g) <thibaud.guillot@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #139977|0 |1 is obsolete| | --- Comment #8 from Thibaud Guillot (thibaud_g) <thibaud.guillot@biblibre.com> --- Created attachment 176318 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176318&action=edit Bug 31487: Add an option to send by mail longoverdue items to borrowers Test plan: 1) You must have longoverdue items to one or many borrowers 2) You must create a notice template (Notices & slips section) 3) You can run the script misc/cronjobs/longoverdue.pl manually without --mail option first (see -h or --help for more info about the script) 4) You must see an output with some longoverdues (step 1 required) 5) Now you can run the script with --mail option but like its specify in "help" option you must add option --code="" (relative to your code template) and --branchcode="". 6) Normally you will see after the classic output a new block with emails added to the message queue and it will be sent on the next misc/cronjobs/process_message_queue.pl script iteration Sponsored by: BibLibre -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Thibaud Guillot (thibaud_g) <thibaud.guillot@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Change sponsored?|--- |Sponsored -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #9 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- This needs to use GetPreparedLetter. It also needs to include a default notice. GetPreparedLetter would allow this to determine which branch to use, rather than asking for a branch in the cron. Specifying a branchcode in the cron really will not work for a variety of consortial setups. We need this to use something more like the overdue cron's --frombranch flag, which tells koha to use either the issuing library or the owning library. The "--mail" flag seems superfluous if adding "--mail" means "--code" and "--branch" are then required. Does this currently have any ability to pull in variables, like the patron name? It does not seem to, and that seems like a minimum functionality requirement. Ultimately, this wants: - to be a patron messaging preference - to generate a Print notice when the patron lacks an email address - to allow SMS message transport stuff - to allow digests I think some of that would be accomplished by using GetPreparedLetter. The rest could be follow-ups. (In reply to Thibaud Guillot (thibaud_g) from comment #8)
Created attachment 176318 [details] [review] Bug 31487: Add an option to send by mail longoverdue items to borrowers
Test plan: 1) You must have longoverdue items to one or many borrowers 2) You must create a notice template (Notices & slips section) 3) You can run the script misc/cronjobs/longoverdue.pl manually without --mail option first (see -h or --help for more info about the script) 4) You must see an output with some longoverdues (step 1 required) 5) Now you can run the script with --mail option but like its specify in "help" option you must add option --code="" (relative to your code template) and --branchcode="". 6) Normally you will see after the classic output a new block with emails added to the message queue and it will be sent on the next misc/cronjobs/process_message_queue.pl script iteration
Sponsored by: BibLibre
-- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kelly@bywatersolutions.com --- Comment #10 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- *** Bug 27441 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Catrina Berka <catrina@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |catrina@bywatersolutions.co | |m -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 George Williams (NEKLS) <george@nekls.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |george@nekls.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Rebecca Coert <rcoert@arlingtonva.us> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rcoert@arlingtonva.us -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Katie Bliss <kebliss@dmpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kebliss@dmpl.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=9596 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 trevor.diamond@mainlib.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trevor.diamond@mainlib.org --- Comment #11 from trevor.diamond@mainlib.org --- (In reply to Eric Swenson from comment #7)
This would be a beneficial feature for many of our library partners that are not open 7 days a week. Since they use useDaysMode to push back the due dates of items this makes timing the notice of items becoming long overdue very difficult.
Seconding this comment! -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Michelle Spinney <mspinney@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mspinney@clamsnet.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Michael Adamyk <michael.adamyk@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael.adamyk@bywatersolut | |ions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Thibaud Guillot (thibaud_g) <thibaud.guillot@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=18064 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Thibaud Guillot (thibaud_g) <thibaud.guillot@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #176318|0 |1 is obsolete| | --- Comment #12 from Thibaud Guillot (thibaud_g) <thibaud.guillot@biblibre.com> --- Created attachment 204590 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=204590&action=edit Bug 31487: Add an option to send by mail longoverdue items to borrowers Test plan: 1) You must have longoverdue items to one or many borrowers 2) You must create a notice template (Notices & slips section) 3) You can run the script misc/cronjobs/longoverdue.pl manually without --mail option first (see -h or --help for more info about the script) 4) You must see an output with some longoverdues (step 1 required) 5) Now you can run the script with --mail option but like its specify in "help" option you must add option --code="" (relative to your code template) and --branchcode="". 6) Normally you will see after the classic output a new block with emails added to the message queue and it will be sent on the next misc/cronjobs/process_message_queue.pl script iteration Sponsored by: BibLibre -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 Thibaud Guillot (thibaud_g) <thibaud.guillot@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31487 --- Comment #13 from Thibaud Guillot (thibaud_g) <thibaud.guillot@biblibre.com> --- Hello, I’ve released a new version of this patch, with a few tweaks based on your feedback. Please let me know if this is heading in the right direction now. As for the issue regarding the calendar and public holidays raised in comment no. 8, this isn’t addressed here. It is covered by bug 18064 (‘Add a system preference to run the longOverdue script with calendar support’), which adds a `LongOverdueNoticeCalendar` preference allowing public holidays to be ignored when calculating the date range for significant delays, if you’d like to have a look. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org