[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. 49a6922daf40f29726df34d008d81efe677016f5

Evergreen Git git at git.evergreen-ils.org
Wed Nov 20 10:46:40 EST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  49a6922daf40f29726df34d008d81efe677016f5 (commit)
      from  caf6322c13c8a101123e8a83157ba377e795e950 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 49a6922daf40f29726df34d008d81efe677016f5
Author: Jason Stephenson <jstephenson at mvlc.org>
Date:   Fri Nov 8 15:02:53 2013 -0500

    Replace erroneous calls to $e->retrieve_authority_record($rec_id).
    
    On lines 153 and 175 of OpenILS::Application::Cat::Authority calls
    like the above should be $e->retrieve_authority_record_entry($rec_id).
    This branch replaces the two misspelled calls with the proper ones.
    
    Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/Authority.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/Authority.pm
index 6d86b80..717bcb4 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/Authority.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/Authority.pm
@@ -150,7 +150,7 @@ sub retrieve_authority_record {
     my($self, $conn, $auth, $rec_id, $options) = @_;
     my $e = new_editor(authtoken=>$auth);
     return $e->die_event unless $e->checkauth;
-    my $rec = $e->retrieve_authority_record($rec_id) or return $e->event;
+    my $rec = $e->retrieve_authority_record_entry($rec_id) or return $e->event;
     $rec->clear_marc if $$options{clear_marc};
     return $rec;
 }
@@ -172,7 +172,7 @@ sub batch_retrieve_authority_record {
     my $e = new_editor(authtoken=>$auth);
     return $e->die_event unless $e->checkauth;
     for my $rec_id (@$rec_id_list) {
-        my $rec = $e->retrieve_authority_record($rec_id) or return $e->event;
+        my $rec = $e->retrieve_authority_record_entry($rec_id) or return $e->event;
         $rec->clear_marc if $$options{clear_marc};
         $conn->respond($rec);
     }

-----------------------------------------------------------------------

Summary of changes:
 .../lib/OpenILS/Application/Cat/Authority.pm       |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list