If a new patron uses the self registering option, their record is not created with the default emailing preferences, but is left blank.
Ew this is an annoying bug. However, it does illustrate something - perhaps we should allow self registering borrowers to set their own messaging preferences at registration time, rather than enforcing the default for that category. What do you think?
We were really wanting to prevent them from changing the preferences because we don't print any paper reports for checkout etc. If we protect them from making changes as we would like to do, we are also unable to access this information to set their preferences because it does not even display in the patron record. Therefore, we have to allow the patrons access to this information and then just manually change it ourselves anytime a patron self registers. I've set the emailing to come to me when anyone self registers so that I will find their record and update the preferences. Most patrons don't know much about the preferences and the difference between "email" and "digest". I do understand this is just a minor problem as I can get around it. I'm very thankful to those wonderful programmers who make all the updates and keep everything running smoothly!! Thanks.
*** Bug 12796 has been marked as a duplicate of this bug. ***
Created attachment 40792 [details] [review] Bug 11693: Default emailing preferences not loaded for self registering patron The call to AddMember_Opac does not take care of the messaging prefs when enhanced messaging is enabled. This patch adds the call to handle_form_action to do that. Test plan: Enable self registering patrons and enhanced messaging. Check the (default) message prefs for the relevant patron category. At least enable email for one notice. Self-register a user with and without verification email enabled. Check in both cases that the message prefs of the user conform to those in the patron category. (So at least one enabled.)
Created attachment 40793 [details] [review] [Signed-off] Bug 11693: Default emailing preferences not loaded for self registering patron The call to AddMember_Opac does not take care of the messaging prefs when enhanced messaging is enabled. This patch adds the call to handle_form_action to do that. Test plan: Enable self registering patrons and enhanced messaging. Check the (default) message prefs for the relevant patron category. At least enable email for one notice. Self-register a user with and without verification email enabled. Check in both cases that the message prefs of the user conform to those in the patron category. (So at least one enabled.) Followed test plan, works as expected. Signed-off-by: Marc Véron <veron@veron.ch>
Created attachment 40877 [details] [review] Bug 11693: Default emailing preferences not loaded for self registering patron The call to AddMember_Opac does not take care of the messaging prefs when enhanced messaging is enabled. This patch adds the call to handle_form_action to do that. Test plan: Enable self registering patrons and enhanced messaging. Check the (default) message prefs for the relevant patron category. At least enable email for one notice. Self-register a user with and without verification email enabled. Check in both cases that the message prefs of the user conform to those in the patron category. (So at least one enabled.) Followed test plan, works as expected. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Patch pushed to master. Thanks Marcel!
Pushed to 3.20.x will be in 3.20.3
Pushed to 3.18.x, will be in 3.18.10.
Pushed to 3.16.x, will be in 3.16.14