(sitka) [RT18218] fix z39.50 timeout Staff Client network error user/lwhalen/RT18218_z3950_timeout
authorLiam Whalen <liam.whalen@bc.libraries.coop>
Tue, 7 Jan 2014 03:22:50 +0000 (19:22 -0800)
committerLiam Whalen <liam.whalen@bc.libraries.coop>
Tue, 7 Jan 2014 03:22:50 +0000 (19:22 -0800)
commitd45051e27e7ebb2b4bfef4b9cda2e55906c2d8f4
treed9e4fee0245d5b890a9583ae51c7d5f719994f20
parentc0a5b2645a64348c3a09981408d5d88d3bde0516
(sitka) [RT18218] fix z39.50 timeout Staff Client network error

When doing a z39.50 search in the staff client, if a z39.50 server
timesout, then the result set returned is null.  Currenlty, this breaks
the code on the server and sends a Network Error to the staff client.

This code adds a check to ensure that the results are populated in order
to avoid creating the server error.
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Z3950.pm