]> git.evergreen-ils.org Git - Evergreen.git/commit
lp#1724321 Web Client -- existence of record with duplicate TCN does not prevent...
authorblake <blake@mobiusconsortium.org>
Thu, 9 Nov 2017 15:35:07 +0000 (15:35 +0000)
committerJason Etheridge <jason@EquinoxInitiative.org>
Mon, 18 Dec 2017 02:30:49 +0000 (21:30 -0500)
commitd6e6519437daaa95de8a15a5b3d7e0dee2412126
tree8fa088cb250966d55107bafb53ee7b7a14f12100
parent1e111dede283983bed2f031cb9ed86db0d2e100e
lp#1724321 Web Client -- existence of record with duplicate TCN does not prevent import

This routes the MARC import execution back to the z39.50 code instead of using the generic
MARC editor. This will make use of open-ils.cat.biblio.record.xml.import instead of pcrud.

Test
1. Edit global flag variable "Cat: Use Internal ID for TCN Value" = false
2. Perform a z39.50 search, click a result and click "import"
3. Step two should be successful, now import it again and you should get an error
4. Click the same result but use "Edit then import"
5. From the MARC editor, make no changes and click "Import"
6. It won't complain about duplicate TCNs
7. Apply the patch
8. Perform steps 4 and 5
9. Notice that the editor does not allow you to import the record

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/src/templates/staff/cat/z3950/t_marc_edit.tt2
Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js
Open-ILS/web/js/ui/default/staff/cat/z3950/app.js