]> git.evergreen-ils.org Git - OpenSRF.git/commit
LP#1350457: Pass caller's session to subrequests called via method_lookup
authorMike Rylander <mrylander@gmail.com>
Wed, 30 Jul 2014 17:29:46 +0000 (13:29 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 20 Aug 2014 21:11:21 +0000 (14:11 -0700)
commit96917538c6b6fad688dd40c2a8f0cc9127053b24
tree1c6bfc69c94e3df734d4f4b46f525b2f83a97c98
parent6cdd5251ac64651534e579f7e02a70a665f60283
LP#1350457: Pass caller's session to subrequests called via method_lookup

In the process of looking up a method for an internal subrequest, we lose
session info. This is a problem when the subrequest makes a remote request,
because then the subrequest can't look up the proper locale, among other
things. The forthcoming branch passes the caller's session to the subrequest.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
src/perl/lib/OpenSRF/Application.pm