[open-ils-commits] [GIT] Evergreen ILS branch master updated. 4ee417ec7773f7771a2461d6f4eb1dfa3a65f6f4

Evergreen Git git at git.evergreen-ils.org
Mon May 8 09:04:09 EDT 2017


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  4ee417ec7773f7771a2461d6f4eb1dfa3a65f6f4 (commit)
      from  06e1d09e365c9c70c546bd6781e313b8daf8774d (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 4ee417ec7773f7771a2461d6f4eb1dfa3a65f6f4
Author: Dan Scott <dscott at laurentian.ca>
Date:   Thu Dec 1 17:24:01 2016 -0500

    LP#1646638 - Fix SIP timeouts due to invalid sessions
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
index 81307f4..998ea85 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
@@ -295,12 +295,14 @@ sub find_patron {
     my $key  =  (@_ > 1) ? shift : 'barcode';  # if we have multiple args, the first is the key index (default barcode)
     my $patron_id = shift;
 
+    $self->verify_session;
     return OpenILS::SIP::Patron->new($key => $patron_id, authtoken => $self->{authtoken}, @_);
 }
 
 
 sub find_item {
     my $self = shift;
+    $self->verify_session;
     return OpenILS::SIP::Item->new(@_);
 }
 

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

Summary of changes:
 Open-ILS/src/perlmods/lib/OpenILS/SIP.pm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list