зеркало из https://github.com/mozilla/pjs.git
Bug 365593: bz_webservices_demo.pl does not match the API as defined in the Webservices code - Patch by Mads Bondo Dydensborg <mbd@dbc.dk> r=mkanat a=myk
This commit is contained in:
Родитель
0400e608c1
Коммит
6c6c2fe333
|
@ -212,12 +212,12 @@ The call will return a C<Bugzilla::Bug> object.
|
|||
=cut
|
||||
|
||||
if ($bug_id) {
|
||||
$soapresult = $proxy->call('Bug.get_bug', { ids => [$bug_id] });
|
||||
$soapresult = $proxy->call('Bug.get_bugs', { ids => [$bug_id] });
|
||||
_die_on_fault($soapresult);
|
||||
$result = $soapresult->result;
|
||||
|
||||
foreach (keys(%$result)) {
|
||||
print "$_: $$result{$_}\n";
|
||||
my $bug = $result->{bugs}->[0];
|
||||
foreach (keys(%$bug)) {
|
||||
print "$_: $$bug{$_}\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче