[XML-RPC] Testopia error on Bugzilla:Product:get() request

Assigned to


9 years ago
9 years ago


(Reporter: nuabaranda, Assigned: gregaryh)





9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Build Identifier: 2.3beta

When doing a XML-RPC request on Bugzilla:WebService:Product:get() I get a Testopia error message:

Bad argument param sent to Testopia::Product::new function

Why does Testopia interfere here? Shouldn't I be accessing the Bugzilla XML-RPC service here?

Reproducible: Always

Steps to Reproduce:
Use the Bugzilla XML-RPC function for Product:get() ( http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Product.html ).
Actual Results:  
Error message: 

Bad argument param sent to Testopia::Product::new function

Bugzilla 3.4.4
Testopia 2.3beta

Comment 1

9 years ago
It interferes because of the changes made to the bugzilla hook system. This is unfortunate, however the Testopia Product just extends the Bugzilla Product so you should still have access to all the regular product methods.
You can modify extensions/testopia/code/webservice.pl to dispatch "Product" with some other moniker (TestopiaProduct for example). This way calls to Product will use Bugzilla::Product instead.


9 years ago
Version: unspecified → 2.3
You need to log in before you can comment on or make changes to this bug.