From 86cef2f89265717ffc5e2665fee7a0adf8a30d4b Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Tue, 7 Nov 2017 15:41:26 -0500 Subject: [PATCH] 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 Signed-off-by: Galen Charlton --- .../templates/staff/cat/share/z3950_strings.tt2 | 2 ++ .../web/js/ui/default/staff/cat/z3950/app.js | 16 ++++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/staff/cat/share/z3950_strings.tt2 b/Open-ILS/src/templates/staff/cat/share/z3950_strings.tt2 index 7be4638117..bfecba8cc3 100644 --- a/Open-ILS/src/templates/staff/cat/share/z3950_strings.tt2 +++ b/Open-ILS/src/templates/staff/cat/share/z3950_strings.tt2 @@ -2,6 +2,8 @@