[Koha-bugs] [Bug 30354] New: AUTO_RENEWALS_DGST notices are not generated if patron set to receive notice via SMS and no SMS notice defined
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 24 15:49:58 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30354
Bug ID: 30354
Summary: AUTO_RENEWALS_DGST notices are not generated if patron
set to receive notice via SMS and no SMS notice
defined
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Notices
Assignee: koha-bugs at lists.koha-community.org
Reporter: andrew at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: kyle at bywatersolutions.com, nick at bywatersolutions.com
To recreate:
- set AutoRenewalNotices to follow messaging prefs
- have a borrower with a checkout ready for auto-renewal
- set that borrower to receive both email and SMS AUTO_RENEWALS_DGST
- confirm your AUTO_RENEWALS_DGST does not have SMS content but does have email
- run the auto_renew cron
- confirm your renewal happens but the patron gets no notices
The cron spits out these errors:
No circulation AUTO_RENEWALS_DGST letter transported by sms at
/kohadevbox/koha/C4/Letters.pm line 583.
no letter of type 'AUTO_RENEWALS_DGST' found for borrowernumber 5. Please see
sample_notices.sql at misc/cronjobs/automatic_renewals.pl line 305.
Can't use string ("1") as a HASH ref while "strict refs" in use at
/kohadevbox/koha/C4/Letters.pm line 898.
When we check to see if an SMS notice exists, the warning gets passed forward
as the $letter.
--
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