Bug 29699

Summary: cronjobs/patron_emailer.pl fails with Module Patrons
Product: Koha Reporter: José Anjos <joseanjos>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: fridolin.somers
Version: 21.05   
Hardware: All   
OS: All   
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:

Description José Anjos 2021-12-15 13:19:33 UTC
After doing the this instructions:
https://bywatersolutions.com/education/monday-minutes-emailing-customized-patron-notices

If the Module of the Notice is "patrons", I have this error:
"The specified letter was not found, please check your input"

If I change it to "circulation" works as expected
Comment 1 Fridolin Somers 2021-12-16 21:04:01 UTC
Hi,

> If the Module of the Notice is "patrons", I have this error:
Indeed, it is because the module code is "members".

You can see it in letter.tt :
https://git.koha-community.org/Koha-community/Koha/src/commit/feaeff330cfa9d49c99a0d70da0df87f5316652b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt#L151