[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.04-90-g8d0a57f

Git repo owner gitmaster at git.koha-community.org
Wed Mar 23 08:00:00 CET 2016


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.22.x has been updated
       via  8d0a57f5241a911d7e95a24ddb01acd824451c99 (commit)
      from  25fdc18f77edf29a94527ad812481c91c80c701c (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 8d0a57f5241a911d7e95a24ddb01acd824451c99
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Feb 17 16:21:50 2016 +0000

    Bug 15840: Catch errors if userid already exists when importing patrons
    
    Import borrowers tool explodes if userid already exists. This error
    should be caught to avoid the script to explodes.
    
    TEST PLAN
    ---------
    1) back up DB
    2) drop DB, create empty DB
    3) Apply patch 15842
    4) web install all the sample data
    5) login as system user and import patron data
       -- sample provided to trigger error.
       -- you will get a DBIx::class exception
          "Duplicate entry ' for key 'userid'"
    6) Apply this patch
    7) Repeat steps 2-5
       -- patrons won't be inserted but an error
          will be nicely displayed in the error list.
    8) run koha qa test tools
    
    Note that it would be easy to insert the patrons anyway and generate a
    userid based on the surname and firstname.
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Brendan Gallagher brendan at bywatersolutions.com
    (cherry picked from commit f1e156453a1bc636914bc5c969e1665d7108cb95)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

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

Summary of changes:
 .../intranet-tmpl/prog/en/modules/tools/import_borrowers.tt     |    5 +++++
 tools/import_borrowers.pl                                       |    7 +++++++
 2 files changed, 12 insertions(+)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list