[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. d87ff5e89609bdc1434952ddb4306f8f483009f7

Evergreen Git git at git.evergreen-ils.org
Thu May 17 09:54:03 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, rel_2_2 has been updated
       via  d87ff5e89609bdc1434952ddb4306f8f483009f7 (commit)
      from  27cfefce8b098f5acc210c73c7c992aba070998e (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 d87ff5e89609bdc1434952ddb4306f8f483009f7
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