[open-ils-commits] [GIT] Evergreen ILS branch rel_2_11 updated. 5613097054de2abf25fb2bc83b3142d26875ddef

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, rel_2_11 has been updated
       via  5613097054de2abf25fb2bc83b3142d26875ddef (commit)
      from  8ff89f6aa99518cd71485944d29ea5929c4597a3 (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 5613097054de2abf25fb2bc83b3142d26875ddef
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