[Koha-bugs] [Bug 29997] Allow to send email notification when a serial issue is late
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29997 Lisette Scheer changed: What|Removed |Added CC||lise...@bywatersolutions.co ||m Keywords||no-sandbox -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 29997] Allow to send email notification when a serial issue is late
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29997 Julian Maurice changed: What|Removed |Added Change sponsored?|--- |Sponsored Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 29997] Allow to send email notification when a serial issue is late
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29997 Julian Maurice changed: What|Removed |Added Status|Patch doesn't apply |Needs Signoff --- Comment #8 from Julian Maurice --- Patch rebased -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 29997] Allow to send email notification when a serial issue is late
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29997 Julian Maurice changed: What|Removed |Added Attachment #156796|0 |1 is obsolete|| --- Comment #7 from Julian Maurice --- Created attachment 175388 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175388&action=edit Bug 29997: Allow to send email notification when a serial issue is late This patch adds the ability to define, for each subscription, a letter that will be sent whenever an issue is automatically marked as late by the script misc/cronjobs/serialsUpdate.pl. If no letter is defined for a subscription, then no letter will be sent. The letter will be sent to the subscription's manager (the staff member who created or last modified the subscription). Test plan: 1. Run updatedatabase.pl and update_dbix_class_files.pl 2. Create a letter in Tools › Notices & slips for module "Serials". Fill the Email template. 3. Create a new subscription, with a grace period of 1 day, and set the new field "Late issue notification" to the letter you just created. Set the first issue publication date and subscription start date to two days ago 4. Run `misc/cronjobs/serialsUpdate.pl -v -c`. 5. The first serial issue of your subscription should have been automatically marked as late. Now verify that the table message_queue contains a new message corresponding to this serial issue. The message's contents should be what you defined in step 1. The message should be addressed to the subscription's manager (you) Technical note: The "subscription" table contained a column named "librarian", which contained the userid of the patron who created or last modified the subscription, but there was no foreign key constraint referencing the borrowers table. So this patch also adds a new column "manager_id" which contains the borrowernumber of the patron who created or last modified the subscription, and it also adds the foreign key constraint. The atomicupdate script tries to fill the new "manager_id" column by searching patrons by their "userid", which might fail, so it's normal to have some NULL values in "manager_id" at the end. The "librarian" column is removed at the end of the script Sponsored-by: Écoles Nationales Supérieures d'Architecture -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 29997] Allow to send email notification when a serial issue is late
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29997 Matthias Le Gac changed: What|Removed |Added Status|Needs Signoff |Patch doesn't apply CC||matthias.le-...@inlibro.com --- Comment #6 from Matthias Le Gac --- Could you fixed the bug. Applying: Bug 29997: Allow to send email notification when a serial issue is late error: sha1 information is lacking or useless (C4/Serials.pm). error: could not build fake ancestor Patch failed at 0001 Bug 29997: Allow to send email notification when a serial issue is late Thanks -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 29997] Allow to send email notification when a serial issue is late
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29997 --- Comment #5 from Julian Maurice --- Patch rebased on master -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 29997] Allow to send email notification when a serial issue is late
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29997 Julian Maurice changed: What|Removed |Added Attachment #143637|0 |1 is obsolete|| --- Comment #4 from Julian Maurice --- Created attachment 156796 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156796&action=edit Bug 29997: Allow to send email notification when a serial issue is late This patch adds the ability to define, for each subscription, a letter that will be sent whenever an issue is automatically marked as late by the script misc/cronjobs/serialsUpdate.pl. If no letter is defined for a subscription, then no letter will be sent. The letter will be sent to the subscription's manager (the staff member who created or last modified the subscription). Test plan: 1. Run updatedatabase.pl and update_dbix_class_files.pl 2. Create a letter in Tools › Notices & slips for module "Serials". Fill the Email template. 3. Create a new subscription, with a grace period of 1 day, and set the new field "Late issue notification" to the letter you just created. Set the first issue publication date and subscription start date to two days ago 4. Run `misc/cronjobs/serialsUpdate.pl -v -c`. 5. The first serial issue of your subscription should have been automatically marked as late. Now verify that the table message_queue contains a new message corresponding to this serial issue. The message's contents should be what you defined in step 1. The message should be addressed to the subscription's manager (you) Technical note: The "subscription" table contained a column named "librarian", which contained the userid of the patron who created or last modified the subscription, but there was no foreign key constraint referencing the borrowers table. So this patch also adds a new column "manager_id" which contains the borrowernumber of the patron who created or last modified the subscription, and it also adds the foreign key constraint. The atomicupdate script tries to fill the new "manager_id" column by searching patrons by their "userid", which might fail, so it's normal to have some NULL values in "manager_id" at the end. The "librarian" column is removed at the end of the script -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 29997] Allow to send email notification when a serial issue is late
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29997 --- Comment #3 from Julian Maurice --- Patch rebased on master + fixed a bug (hardcoded letter code) -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 29997] Allow to send email notification when a serial issue is late
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29997 Julian Maurice changed: What|Removed |Added Attachment #130048|0 |1 is obsolete|| --- Comment #2 from Julian Maurice --- Created attachment 143637 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143637&action=edit Bug 29997: Allow to send email notification when a serial issue is late This patch adds the ability to define, for each subscription, a letter that will be sent whenever an issue is automatically marked as late by the script misc/cronjobs/serialsUpdate.pl. If no letter is defined for a subscription, then no letter will be sent. The letter will be sent to the subscription's manager (the staff member who created or last modified the subscription). Test plan: 1. Run updatedatabase.pl and update_dbix_class_files.pl 2. Create a letter in Tools › Notices & slips for module "Serials". Fill the Email template. 3. Create a new subscription, with a grace period of 1 day, and set the new field "Late issue notification" to the letter you just created. Set the first issue publication date and subscription start date to two days ago 4. Run `misc/cronjobs/serialsUpdate.pl -v -c`. 5. The first serial issue of your subscription should have been automatically marked as late. Now verify that the table message_queue contains a new message corresponding to this serial issue. The message's contents should be what you defined in step 1. The message should be addressed to the subscription's manager (you) Technical note: The "subscription" table contained a column named "librarian", which contained the userid of the patron who created or last modified the subscription, but there was no foreign key constraint referencing the borrowers table. So this patch also adds a new column "manager_id" which contains the borrowernumber of the patron who created or last modified the subscription, and it also adds the foreign key constraint. The atomicupdate script tries to fill the new "manager_id" column by searching patrons by their "userid", which might fail, so it's normal to have some NULL values in "manager_id" at the end. The "librarian" column is removed at the end of the script -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 29997] Allow to send email notification when a serial issue is late
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29997 Julian Maurice changed: What|Removed |Added Blocks||30096 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30096 [Bug 30096] Allow to change "late issue notification" setting in subscriptions batch modification tool -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 29997] Allow to send email notification when a serial issue is late
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29997 Julian Maurice changed: What|Removed |Added Status|ASSIGNED|Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 29997] Allow to send email notification when a serial issue is late
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29997 --- Comment #1 from Julian Maurice --- Created attachment 130048 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130048&action=edit Bug 29997: Allow to send email notification when a serial issue is late This patch adds the ability to define, for each subscription, a letter that will be sent whenever an issue is automatically marked as late by the script misc/cronjobs/serialsUpdate.pl. If no letter is defined for a subscription, then no letter will be sent. The letter will be sent to the subscription's manager (the staff member who created or last modified the subscription). Test plan: 1. Create a letter in Tools › Notices & slips for module "Serials". Fill the Email template. 2. Create a new subscription, with a grace period of 1 day, and set the new field "Late issue notification" to the letter you just created. Set the first issue publication date and subscription start date to two days ago 3. Run `misc/cronjobs/serialsUpdate.pl -v -c`. 4. The first serial issue of your subscription should have been automatically marked as late. Now verify that the table message_queue contains a new message corresponding to this serial issue. The message's contents should be what you defined in step 1. The message should be addressed to the subscription's manager (you) Technical note: The "subscription" table contained a column named "librarian", which contained the userid of the patron who created or last modified the subscription, but there was no foreign key constraint referencing the borrowers table. So this patch also adds a new column "manager_id" which contains the borrowernumber of the patron who created or last modified the subscription, and it also adds the foreign key constraint. The atomicupdate script tries to fill the new "manager_id" column by searching patrons by their "userid", which might fail, so it's normal to have some NULL values in "manager_id" at the end. The "librarian" column is removed at the end of the script -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/