[open-ils-commits] [GIT] Evergreen ILS branch rel_2_12 updated. 7374f723d17d0964fd0af9b8c2fc3c15003e3703
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_12 has been updated
via 7374f723d17d0964fd0af9b8c2fc3c15003e3703 (commit)
from 75bd47794fe3710f110ba9c1b3dd50da0b815c87 (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 7374f723d17d0964fd0af9b8c2fc3c15003e3703
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