https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43384
Bug ID: 43384
Summary: Errors in CHECKOUT or CHECKIN templates result in
error screen in staff client
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Notices
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
Target Milestone: ---
To recreate:
- have a patron who has an email address and is set to receive both CHECKIN and
CHECKOUT notices via email
- edit the email templates for both CHECKIN and CHECKOUT notices such that they
contain Template Toolkit errors. For example, add "[% IF 1==1 %]" to the notice
without a corresponding "[% END %]"
- confirm your notice shows an error in the notice edit screen: "file error -
parse error - input text line 6: unexpected end of input at
/kohadevbox/koha/tools/letter.pl line 211."
- check an item out to your patron. On KTD you will end up on an Error Trace
screen that repeats the same template error seen above. On a production site
you should see a "An error has occurred! Error 500"
- reload your patron, see the checkout was successful, despite the errror
- check your item again, get another error
- reload your patron, see the checkin was successful despite the error
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/