[Koha-bugs] [Bug 35454] New: A bad RENEWAL notice breaks the ability to renew items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 30 17:01:44 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35454

            Bug ID: 35454
           Summary: A bad RENEWAL notice breaks the ability to renew items
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: lucas at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

To recreate:

1. Have an errouneous template in your RENEWAL notice. For  example this
template is missing an [% END %]:

[% UNLESS  borrower.branchcode == "ABC" %]
The following items have been renewed:
----
<<biblio.title>>
----

2. Have  RenewalSendNotice set to 'Send'
3. Make sure a patron has the 'Item checkout' messaging pref set. 
4. Checkout some items to that patron and try to renew them.
5. Nothing happens.
6. Fix the notice by adding the missing [% END %]
7. Now you can successfully renew.


Bad templates should not complete break the ability to renew items.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list