Skip Menu |
 

This queue is for tickets about the BZ-Client CPAN distribution.

Report information
The Basics
Id: 54227
Status: resolved
Priority: 0/
Queue: BZ-Client

People
Owner: jwied [...] cpan.org
Requestors: GDSL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.02
Fixed in: (no value)



Subject: Fix BZ::Client::Bug::get(): missed 1st arg for api_call()
Subject: patch-Bug.pm
Download patch-Bug.pm
text/x-perl 648b
--- Bug.pm.bak 2010-01-26 21:30:55.000000000 +0300 +++ Bug.pm 2010-01-26 21:31:27.000000000 +0300 @@ -30,7 +30,7 @@ $client->log("debug", "BZ::Client::Bug::get: Asking for " . (ref($ids) eq "ARRAY" ? join(",", @$ids) : $ids)); my $params = { ids => $ids }; $params->{"permissive"} = BZ::Client::XMLRPC::boolean::TRUE() if $permissive; - my $result = $class->api_call("Bug.get", $params); + my $result = $class->api_call($client, "Bug.get", $params); my $bugs = $result->{"bugs"}; if (!$bugs || "ARRAY" ne ref($bugs)) { $class->error($client, "Invalid reply by server, expected array of bugs.");
Fixed in 1.03. Thanks!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.