[koha-commits] main Koha release repository branch master updated. v3.22.00-901-gf1e1564

Git repo owner gitmaster at git.koha-community.org
Mon Mar 21 22:17:17 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, master has been updated
       via  f1e156453a1bc636914bc5c969e1665d7108cb95 (commit)
      from  6c1b39b4cbceb1a414a91865e15612385c2eb5b7 (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 f1e156453a1bc636914bc5c969e1665d7108cb95
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

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

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