]> git.koha-community.org Git - koha.git/commit
Bug 27626: Fix self registration if categorycode is hidden and PatronSelfRegistration...
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 4 Feb 2021 16:37:26 +0000 (17:37 +0100)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Thu, 18 Mar 2021 21:14:51 +0000 (22:14 +0100)
commite5fd38db6bb3b10834175ee59dc0d3ef2dc2f470
treedce519345e46ec5841929b13adb88fd85f96ffc0
parentac1346d13817f749c7ab63b56c87e2a9e46988a9
Bug 27626: Fix self registration if categorycode is hidden and PatronSelfRegistrationVerifyByEmail

If categorycode is selected in
PatronSelfRegistrationBorrowerUnwantedField and
PatronSelfRegistrationVerifyByEmail is turned on, the patron self registration
fails with

   [You must provide a patron's category to validate password's strength
   and length] at /usr/share/perl5/Exception/Class/Base.pm line 88

Test plan:
0. Select categorycode in PatronSelfRegistrationBorrowerUnwantedField
   and turn on PatronSelfRegistrationVerifyByEmail
1. Self register a patron
2. Confirm that it works as expected with this patch applied.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 74ae74d5faec9a4ba4fbf573b4a81b1274402773)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 2b021df3e2630d98ed6a72f32d3e7d63c8159aa6)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit 4dac16fd363cb5fa84c5e8246be42533afbd73bc)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
opac/opac-memberentry.pl