Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 16095: Remove target="_blank" when a link refer to an external link 2016-03-21 20:44:52 +00:00
admin Bug 15990: (follow-up) Making record matching rules actions buttons 2016-03-18 07:10:29 +00:00
authorities Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
basket Bug 16095: Remove target="_blank" when a link refer to an external link 2016-03-21 20:44:52 +00:00
batch
catalogue Bug 16095: Remove target="_blank" when a link refer to an external link 2016-03-21 20:44:52 +00:00
cataloguing Bug 16026 - Use Font Awesome icons on cataloging home page 2016-03-11 22:59:10 +00:00
circ Bug 16082: Display a friendly "patron does not exist" message if that's the case - circulation.pl 2016-03-21 16:58:17 +00:00
common Bug 14193 - Accessibility: Searching patrons using the alphabetic index doesn't work 2016-01-23 18:50:47 +00:00
course_reserves Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
errors Bug 15288: Error pages: Code duplication removal and better translatability 2016-01-27 05:57:34 +00:00
help Bug 11023: Automatic item modification by age (Was Toggle "new" status") 2016-03-02 22:56:31 +00:00
installer Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
labels Bug 15111: Do not include the antiClickjack legacy browser trick for greybox 2016-03-14 16:30:09 +00:00
members Bug 15206: Make strings translatable 2016-03-12 23:41:40 +00:00
offline_circ Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
patron_lists Bug 16022 - Use Font Awesome icons on patron lists page 2016-03-11 21:54:12 +00:00
patroncards Bug 15111: Do not include the antiClickjack legacy browser trick for greybox 2016-03-14 16:30:09 +00:00
plugins Bug 15592 - spelling mistake in ~/Koha/koha-tmpl/intranet-tmpl/p./plugins/plugins-upload.tt 2016-01-27 02:47:41 +00:00
reports Bug 15978: Use Font Awesome icons for guided reports error dialog 2016-03-12 23:31:44 +00:00
reserve Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
reviews Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
rotating_collections Bug 15830 - Move Rotating Collections actions into a drop-down list 2016-02-24 03:14:27 +00:00
serials Bug 15980: Use Font Awesome icons in subscription frequency deletion confirmation dialog 2016-03-12 23:30:01 +00:00
services Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
sms
suggestion Bug 15084: Replace C4::Budgets::GetCurrencies with Koha::Acquisition::Currencies->search 2016-03-03 20:39:01 +00:00
tags Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
test Bug 14321: Final cleanup, removing obsolete files 2015-09-25 12:02:52 -03:00
tools Bug 15840: Catch errors if userid already exists when importing patrons 2016-03-21 21:24:00 +00:00
virtualshelves Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
about.tt Bug 16095: Remove target="_blank" when a link refer to an external link 2016-03-21 20:44:52 +00:00
auth.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
intranet-main.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00