Bug 41164

Summary: branch object inaccessible for item renewed via OPAC
Product: Koha Reporter: Indranil Das Gupta <indradg>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: 24.11   
Hardware: All   
OS: Linux   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Screenshot of the reported issue

Description Indranil Das Gupta 2025-10-31 20:04:55 UTC
Created attachment 188865 [details]
Screenshot of the reported issue

RNEWAL notice is supposed to have the item, biblio, biblioitem, borrower, branch, checkout object variables available to it.

On:

OS - Ubuntu 24.04.3 LTS
Koha - 24.11.09
Installation - package.

when a patron is renewing an item via their OPAC account [% branch.branchcode %] (in fact all of branch.* values are unavailable in the mail sent.

However, renewals done via SIP2 or via the staff client are working as expected without any issue. Screenshot from mailbox attached.