projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80761d4
)
Fix SIP timeouts due to invalid sessions
user/dbs/fix_sip_timeout
author
Dan Scott
<dscott@laurentian.ca>
Thu, 1 Dec 2016 22:24:01 +0000
(17:24 -0500)
committer
Dan Scott
<dscott@laurentian.ca>
Thu, 1 Dec 2016 22:24:01 +0000
(17:24 -0500)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
patch
|
blob
|
history
diff --git
a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
index
81307f4
..
998ea85
100644
(file)
--- 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(@_);
}