The above issue is resolved by replacing Product by TestopiaProduct. So I
will send a patch for all Product related methods. But none of these
product related methods are taking string argument. Not sure how to get id
for the product whose only name I know.
I will debug further and if not able to resolve will start a new mail
thread.
Regards
Poornima
Poornima Nayak/India/IBM@IBMIN
Sent by:
support-webtools-bounces+poornima.nayak=
in.ibm.com@...
12/24/2011 10:25 PM
To
support-webtools@...,
wwoods@...,
dmalcolm@...
cc
Tiago Rodrigues de Mello <
tmello@...>
Subject
Need help on Product.methods in testopia.py
Hi All
To get quick response I have included Will Woods & David Malcolm, since
this is my first mail to mozilla mailing list not sure how quick I will
receive reply.
Issue I am facing is none of the 'Product' related api's defined in
testopia.py works. For example, if I want to get product id by using
product_lookup_id_by_name, I am observing following error
testopia.TestopiaXmlrpcError: Error while executing cmd
'Product.check_product('Linux Base')' --> <Fault Client: 'Failed to locate
method (check_product) in class
(Bugzilla::Extension::LTC::WebService::Product) at
/usr/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 2820.\n'>
The document here
http://landfill.mozilla.org/testopia/docs/en/html/api/extensions/Testopia/lib/Product.html
says use check_product to get product id.
I feel issue here is it is supposed to look for check_product under
Bugzilla::Extension::Testopia::WebService::Product , but w.r.t our
bugzilla setup it is looking for the method in
Bugzilla::Extension::LTC::WebService::Product.
Let me know how to resolve this issue. I verified that none of the api's
defined for 'Product' works with same issue 'Failed to locate method'
Regards
Poornima
_______________________________________________
support-webtools mailing list
support-webtools@...
https://lists.mozilla.org/listinfo/support-webtools_______________________________________________
support-webtools mailing list
support-webtools@...
https://lists.mozilla.org/listinfo/support-webtools