Bug 12393

Summary: OverDrive does not depend on SSL modules for LWP, causing searches to fail
Product: Koha Reporter: Jesse Weaver <jweaver>
Component: OPACAssignee: Jesse Weaver <jweaver>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 12393 - Depend on SSL module for LWP, for OverDrive
Bug 12393 - Depend on SSL module for LWP, for OverDrive
[SIGNED-OFF] Bug 12393 - Depend on SSL module for LWP, for OverDrive
[PASSED QA] Bug 12393 - Depend on SSL module for LWP, for OverDrive

Description Jesse Weaver 2014-06-10 01:13:40 UTC
Koha needs to list IO::Socket::SSL and Crypt::SSLeay as dependencies; if these modules are not installed, the OverDrive code cannot get an authentication token over SSL.
Comment 1 Jesse Weaver 2014-06-10 01:23:04 UTC
Misspoke, seems only IO::Socket::SSL is required.
Comment 2 Jesse Weaver 2014-06-10 04:55:24 UTC Comment hidden (obsolete)
Comment 3 Chris Cormack 2014-06-18 20:46:16 UTC Comment hidden (obsolete)
Comment 4 Owen Leonard 2014-06-19 16:09:28 UTC Comment hidden (obsolete)
Comment 5 Katrin Fischer 2014-06-19 20:50:39 UTC
Created attachment 29061 [details] [review]
[PASSED QA] Bug 12393 - Depend on SSL module for LWP, for OverDrive

The OverDrive integration needs to connect to an authentication server
over HTTPS, and many systems do not install the necessary module
(LWP::Protocol::https) by default.

Test plan (for patch):
  1) Run koha_perl_deps.pl -a, verify that LWP::Protocol::https appears in
     listing.

Test plan (to verify that LWP::Protocol::https is necessary, needs OverDrive access):
  1) Remove LWP::Protocol::https (liblwp-protocol-https-perl under Debian).
  2) Run an OverDrive search on the OPAC, it should fail.
  3) Reinstall LWP::Protocol::https.
  4) Rerun OverDrive search, it should now succeed.

Note: older versions of Debian do not need to install LWP::Protocol::https separately;
the Debian scripts have been updated to reflect this divide.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
Comment 6 Tomás Cohen Arazi 2014-06-22 23:36:19 UTC
Patch pushed to master.

Thanks Jesse!
Comment 7 Galen Charlton 2014-06-25 22:28:16 UTC
Pushed to 3.16.x for inclusion in 3.16.1.