[koha-commits] main Koha release repository branch 3.20.x updated. v3.20.05-27-gee185cf

Git repo owner gitmaster at git.koha-community.org
Sun Nov 29 21:42:55 CET 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 3.20.x has been updated
       via  ee185cfd1afed08d20f226ef8a2c62df2c96b6e8 (commit)
      from  1cd654313bd539e22eacf4322fc419331ed80d44 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ee185cfd1afed08d20f226ef8a2c62df2c96b6e8
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Tue Sep 22 09:49:39 2015 +0200

    Bug 14867: userid not generated when defined in BorrowerUnwantedField
    
    When userid is not provided when creating a new patron, it is generated
    using surname and firstname.  The bug is when userid is defined in
    syspref BorrowerUnwantedField, the input text is missing in patron
    creation form. When saving you always get an alert message :
    "Username/password already exists". No patron can be created.
    
    This patch corrects by adding this case to userid generation conditions.
    
    Test plan :
    - add 'userid' in syspref BorrowerUnwantedField
    - try to create a new patron : /cgi-bin/koha/members/memberentry.pl
    - there is not input text for userid
    - choose non-existing surname and firstname
    - click on save
      => Without patch : patron is not created, you see the alert message
         "Username/password already exists"
      => With patch : patron is created, userid is generated with surname
         and firstname
    - remove 'userid' in syspref BorrowerUnwantedField and check it can be
      defined in patron creation form
    
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
      The issue is there, and this patch fixes it.
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    (cherry picked from commit 0cbc65111c735e699d94d50ad09c17fb7b7b8913)

-----------------------------------------------------------------------

Summary of changes:
 members/memberentry.pl |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list