[Koha-bugs] [Bug 32426] Allow plugin to generate userid when creating patrons
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 3 17:08:44 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32426
--- Comment #17 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 147706
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147706&action=edit
Bug 32426: Changes for opac-memberentry
Test plan:
Enable self registration, pick a default category too for it.
The changes will be tested later with a plugin, but now change
Koha/Patron.pm as follows:
sub _generate_userid_legacy { # as we always did
my ($self) = @_;
+return $self;
So, add the return $self line only.
Restart all. Try to register an account on OPAC.
You should see an alert about problems processing your registration.
Undo the change in Patron.pm and restart all.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list