[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:42 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32426
--- Comment #16 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 147705
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147705&action=edit
Bug 32426: Throw InvalidUserid exception in Patron->store
When creating we still call generate_userid and verify the result.
When modifying we do not accept an invalid userid. When needed,
we recreate the userid; this should be very exceptional.
Test plan:
Run t/db_dependent/Koha/Patrons.t
Go to staff interface. Try changing userid of a patron to an
existing one.
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