Open Bug 530806 Opened 15 years ago Updated 15 years ago

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

Categories

(Testopia :: API, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: nuabaranda, Assigned: gregaryh)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.5) 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
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.
Version: unspecified → 2.3
You need to log in before you can comment on or make changes to this bug.