Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
84ad63d5
Commit
84ad63d5
authored
Nov 20, 2012
by
Thorsten Schöning
Committed by
Frédéric Buclin
Nov 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 385283: bz_webservice_demo.pl --product-name fails (Product.get_product no longer exists)
r/a=LpSolit
parent
d7afb252
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
bz_webservice_demo.pl
contrib/bz_webservice_demo.pl
+4
-4
No files found.
contrib/bz_webservice_demo.pl
View file @
84ad63d5
...
@@ -293,20 +293,20 @@ if ($bug_id) {
...
@@ -293,20 +293,20 @@ if ($bug_id) {
=head2 Retrieving Product Information
=head2 Retrieving Product Information
Call C<Product.get_product> with the name of the product you want to know more
Call C<Product.get> with the name of the product you want to know more of.
of.
The call will return a C<Bugzilla::Product> object.
The call will return a C<Bugzilla::Product> object.
=cut
=cut
if
(
$product_name
)
{
if
(
$product_name
)
{
$soapresult
=
$proxy
->
call
(
'Product.get
_product'
,
$product_name
);
$soapresult
=
$proxy
->
call
(
'Product.get
'
,
{
'names'
=>
[
$product_name
]}
);
_die_on_fault
(
$soapresult
);
_die_on_fault
(
$soapresult
);
$result
=
$soapresult
->
result
;
$result
=
$soapresult
->
result
;
if
(
ref
(
$result
)
eq
'HASH'
)
{
if
(
ref
(
$result
)
eq
'HASH'
)
{
$result
=
$result
->
{
'products'
}
->
[
0
];
foreach
(
keys
(
%
$result
))
{
foreach
(
keys
(
%
$result
))
{
print
"$_: $
$result
{$_}\n"
;
print
"$_: $
result->
{$_}\n"
;
}
}
}
}
else
{
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment