https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40239
Bug ID: 40239
Summary: Improve TT validation when saving notice
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Notices
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Bug 31211 add a validation system to detect error in notification template when
saving, but some errors are not caught by this system:
For example, the following model will not generate any error or warning when
saving, but it will completely (and silently) prevent sending the notification
```
Hello [% borrower.date_due %]
```
(in general, when trying to access a sub-field/sub-object that doesn't exist)
Another example is a model looking like this :
```
Hello [% patron.surname %]
```
This notification is still sent, but the object patron doesn't exist and is not
replaced. It would be great to test and warn the librarian if they are using
invalid or non-available objects.
--
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]
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/