Koha/koha-tmpl/intranet-tmpl/prog/en
Jonathan Druart f1e156453a 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@hotmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-03-21 21:24:00 +00:00
..
css Bug 16048 [Follow-up] Making notices actions buttons 2016-03-11 23:01:39 +00:00
data
includes Bug 15111: Do not include the antiClickjack legacy browser trick for greybox 2016-03-14 16:30:09 +00:00
js Bug 15206 - Make CalculateAge a reusable function 2016-03-12 23:41:40 +00:00
lib/yui
modules Bug 15840: Catch errors if userid already exists when importing patrons 2016-03-21 21:24:00 +00:00
xslt Bug 15162: Remove specific test in UNIMARCslim2*.xsl 2016-01-27 06:00:35 +00:00
columns.def Bug 15373: More changes of Zip to ZIP on intranet 2015-12-30 16:30:35 +00:00