[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:35 CET 2023


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #146947|0                           |1
        is obsolete|                            |
 Attachment #146948|0                           |1
        is obsolete|                            |
 Attachment #146949|0                           |1
        is obsolete|                            |
 Attachment #146950|0                           |1
        is obsolete|                            |
 Attachment #147252|0                           |1
        is obsolete|                            |
 Attachment #147253|0                           |1
        is obsolete|                            |
 Attachment #147254|0                           |1
        is obsolete|                            |
 Attachment #147255|0                           |1
        is obsolete|                            |

--- Comment #15 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 147704
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147704&action=edit
Bug 32426: Patron::generate_userid - add plugin hook

The hook is called patron_generate_userid. How suitable.
The existing generate_userid tests and new tests with mocked
plugins are merged into a new test script.

Test plan:
Run t/db_dependent/Koha/Patron_generate_userid.t
Run t/db_dependent/Koha/Patrons.t

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