[Koha-bugs] [Bug 8545] New: ZOOM is silent on connection errors

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 1 02:02:01 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8545

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8545
          Assignee: gmcharlt at gmail.com
           Summary: ZOOM is silent on connection errors
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: starsid at gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Searching
           Product: Koha

In file Context.pm,

        # forge to server
        $Zconn->connect($host, 0);

        # check for errors and warn
        if ($Zconn->errcode() !=0) {
            warn "something wrong with the connection: ". $Zconn->errmsg();
        }

the error checking code does not warn when I change $host to something garbage.
The subsequent search query just returns an empty set without any errors.

OS: Ubuntu 12.04
Koha: 3.9-1~git+20120524174206.f9352e89
Zoom: 1.26-1build2

I also checked this on CentOS 6.2 with Koha 3.08.03 and ZOOM installed as the
latest version from the latest CPAN (I can check exact version numbers if
needed).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list