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

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