Api to retrieve an authority record not working

Bug #1249476 reported by Srey Seng
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned
2.3
Won't Fix
Undecided
Unassigned
2.4
Fix Released
Undecided
Unassigned
2.5
Fix Released
Undecided
Unassigned

Bug Description

There's an api for retrieving an auth record (open-ils.cat.authority.record.retrieve).
I've been trying to call this api via the opensrf shell with no success.

my call: request open-ils.cat open-ils.cat.authority.record.retrieve "93b7b6fbf37cea3fa02c0f1eda27eb52",1,{}

I get the error "Can't locate object method "retrieve_authority_record" via package "OpenILS::Utils::CStoreEditor" at /usr/local/share/perl/5.14.2/OpenILS/Application/Cat/Authority.pm line 153."

line ~153, there's a call $e->retrieve_authority_record($rec_id), also goes for line ~175
the call appears to be incorrect per IRC chat, and maybe should be changed to $e->retrieve_authority_record_entry($rec_id) instead

Changed in evergreen:
status: New → Confirmed
Revision history for this message
Jason Stephenson (jstephenson) wrote :
tags: added: authority pullrequest record retrieve
Revision history for this message
Srey Seng (sreyseng) wrote :

Tested the fix, and it is working as expected.

Revision history for this message
Mike Rylander (mrylander) wrote :

Picked into master and 2.4, thanks Jason!

Changed in evergreen:
status: Confirmed → Fix Committed
Revision history for this message
Mike Rylander (mrylander) wrote :

(and 2.5)

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.