[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_4 updated. ccc0a8dbcef48ddd19ff94f8a72848bed11612e0

Evergreen Git git at git.evergreen-ils.org
Wed Nov 20 10:53:10 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, rel_2_4 has been updated
       via  ccc0a8dbcef48ddd19ff94f8a72848bed11612e0 (commit)
      from  ae6aadb3adfacf101e2d16d233a44832c971398a (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 ccc0a8dbcef48ddd19ff94f8a72848bed11612e0
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>
    
    Conflicts [just whitespace]:
    	Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/Authority.pm

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 696a446..cc1141f 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/Authority.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/Authority.pm
@@ -148,9 +148,9 @@ __PACKAGE__->register_method(
 );
 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 $e = new_editor(authtoken=>$auth);
+    return $e->die_event unless $e->checkauth;
+    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       |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list