Angular MARC Editor uses wrong API to delete/undelete authority records

Bug #1866546 reported by Jane Sandberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned

Bug Description

Currently, the MARC Editor for authority records in the Angular catalog tries to use open-ils.cat.biblio.record_entry.delete to delete authority records. This is probably dangerous, because it will delete a bibliographic record with the same ID as the authority record, rather than deleting the authority record.

Authority records currently don't have their own delete/undelete methods, as far as I can tell. So maybe we could add some! Or maybe just pcrud for now. It looks like the Manage Authority screen is using pcrud.eliminate to delete authority records.

Bill Erickson (berick)
Changed in evergreen:
assignee: nobody → Bill Erickson (berick)
status: New → Confirmed
milestone: none → 3.5.0
Revision history for this message
Bill Erickson (berick) wrote :
tags: added: pullrequest
Bill Erickson (berick)
Changed in evergreen:
assignee: Bill Erickson (berick) → nobody
Changed in evergreen:
milestone: 3.5.0 → 3.5.1
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Works well for me. Thanks, Bill! I signed off and took the liberty of cherry-picking into master and rel_3_5.

Changed in evergreen:
importance: Undecided → Medium
status: Confirmed → Fix Committed
tags: added: signedoff
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.