LP#1724885 - Alert when TCN value already exists on bib import.
authorChris Sharp <csharp@georgialibraries.org>
Tue, 7 Nov 2017 20:41:26 +0000 (15:41 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 8 Nov 2017 16:06:45 +0000 (11:06 -0500)
commit86cef2f89265717ffc5e2665fee7a0adf8a30d4b
tree259c63f3f0869627aac1f2d741a043c5d7915db3
parenta3e2da6b4b7cd503a2603043f97674a030020cce
LP#1724885 - Alert when TCN value already exists on bib import.

To test
-------
[1] Ensure that the global flag 'cat.bib.use_id_for_tcn' is off.
[2] Import a record via Z39.50 in the web staff client.
[3] Repeat the Z39.50 search and attempt to import the record again.
    Note that the import will fail silently (with error messages
    in the browser console).
[4] Apply the patch and repeat step 3. This time, an alert modal
    will appear pointing out that the TCN is already in use.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/cat/share/z3950_strings.tt2
Open-ILS/web/js/ui/default/staff/cat/z3950/app.js