https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36962
Bug ID: 36962
Summary: Apparent "typo" in notices and slips ---BORROWERS---
object (email)
Change sponsored?: ---
Product: Koha
Version: 23.05
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P5 - low
Component: Tools
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Created attachment 167183
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167183&action=edit
Screen capture of bug narrative. On the left, notice the object in plural. On
the right, changing the object's number to singular fixes the issue.
There seems to be a "typo" in the object for borrowers in the notices and slips
tool [WELCOME email template for patrons). Particularly, in the ---BORROWERS---
sublist, the object is written in plural (e.g. borrowers.borrowernumber,
borrowers.cardnumber, ... et seq.). However, when utilizing the borrower
object.methods as listed (in plural) by "inserting it into the body", an error
is not returned when saving and the email is successfully sent. But the
"inserted values" do not show in the email. Only the borrower.cardnumber
showed, which was one that was already written in the default. Upon closer
inspection, I noteiced that the borrower object was in singular. Upon changing
the object from plural to singular in the body of the edit (e.g. changing
borrowers.borrowernumber to borrower.borrowernumber etc.) and rerunning the
test, it executed successfully.
This is the first time that I have submitted a bug report to any system. Please
forgive me if I may still have to learn the ropes of how to properly do/write
so.
Beatitudes, ~m
--
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/