web client: z39.50 import button does nothing when TCN already exists

Bug #1724885 reported by Chris Sharp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned

Bug Description

In the web client's z39.50 import interface, if you click Import for a record that already exists, there is no visible response. The web console shows:

angular.js:14199 TypeError: result.id is not a function
    at app.js:234
    at angular.js:16785
    at m.$eval (angular.js:17994)
    at m.$digest (angular.js:17808)
    at angular.js:18033
    at f (angular.js:6045)
    at angular.js:6324

and this message appears in the server logs (WARN):

tcn value <actual value> already exists in import/create

There needs to be an alert box that lets the end user know what's going on.

Evergreen master
OpenSRF 3.0.0
PostgreSQL 9.5
Ubuntu 16.04 LTS

tags: added: webstaffclient
Revision history for this message
Chris Sharp (chrissharp123) wrote :
tags: added: pullrequest
Galen Charlton (gmc)
Changed in evergreen:
milestone: none → 3.0.2
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Galen Charlton (gmc)
Revision history for this message
Galen Charlton (gmc) wrote :

Pushed to master and rel_3_0. Thanks, Chris!

Changed in evergreen:
status: Confirmed → Fix Committed
assignee: Galen Charlton (gmc) → nobody
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.