Bug 29699 - cronjobs/patron_emailer.pl fails with Module Patrons
Summary: cronjobs/patron_emailer.pl fails with Module Patrons
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: 21.05
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-15 13:19 UTC by José Anjos
Modified: 2022-12-12 21:23 UTC (History)
1 user (show)

See Also:
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

Note You need to log in before you can comment on or make changes to this bug.
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