https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43559

Pedro Amorim (ammopt) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |k

--- Comment #10 from Pedro Amorim (ammopt) <[email protected]> ---
Hi all,

Small behaviour change worth knowing about: before this patch, an empty
--letter or --letter_renew (e.g. '--letter=') fell back to MEMBERSHIP_EXPIRY /
MEMBERSHIP_RENEWED. Now the default only applies when the option is omitted
entirely, so an empty value is used as the letter code and no notice is sent.

Unlikely to bite anyone in practice, not a blocker, just noting it for the
record and a potential follow-up if agreed.

Test plan:
1) Set 'MembershipExpiryDaysNotice' to 14 at
http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=MembershipExpiryDaysNotice
2) Edit any patron and set 'Expiry date' to 14 days from today:
http://localhost:8081/cgi-bin/koha/members/members-home.pl
3) Before applying the patch, run:
   perl misc/cronjobs/membership_expiry.pl -c -v -p --letter=
4) Notice 'Enqueued notices for 1 patrons'
5) Apply the patch and repeat 3)
6) Notice 'Enqueued notices for 0 patrons'

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to