[open-ils-commits] [GIT] Evergreen ILS branch master updated. 3a02ddaec1e6c7536c8771ea611e32df95816736

Evergreen Git git at git.evergreen-ils.org
Thu May 17 09:51:53 EDT 2012


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  3a02ddaec1e6c7536c8771ea611e32df95816736 (commit)
      from  ebdf3e9527c2755195d3126b5468e4636ea5cc6a (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 3a02ddaec1e6c7536c8771ea611e32df95816736
Author: Bill Erickson <berick at esilibrary.com>
Date:   Wed May 16 15:55:23 2012 -0400

    Vandelay authority existing queue search repair
    
    When searching for an existing authority queue, search for an authority
    queue, not a bib queue.  Apart from simply not working, the query will
    fail with an "invalid input value for enum vandelay.bib_queue_queue_type"
    and result in a client-side error.
    
    https://bugs.launchpad.net/evergreen/+bug/989391
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm
index 5c06e96..89a7d8d 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm
@@ -110,7 +110,7 @@ sub create_auth_queue {
     return $e->die_event unless $e->allowed('CREATE_AUTHORITY_IMPORT_QUEUE');
     $owner ||= $e->requestor->id;
 
-    if ($e->search_vandelay_bib_queue({name => $name, owner => $owner, queue_type => $type})->[0]) {
+    if ($e->search_vandelay_authority_queue({name => $name, owner => $owner, queue_type => $type})->[0]) {
         $e->rollback;
         return OpenILS::Event->new('AUTH_QUEUE_EXISTS') 
     }

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

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


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list