Closed Bug 577415 Opened 15 years ago Closed 15 years ago

Allow positional parameters for XML-RPC

Categories

(Bugzilla :: WebService, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: mkanat, Assigned: mkanat)

Details

Attachments

(1 file, 1 obsolete file)

The Testopia WebService uses positional parameters, and the XML-RPC in Bugzilla 3.6 doesn't allow this. JSON-RPC will always require positional parameters, but it's possible that we can work around things for 3.6 for XML-RPC.
Attached patch v1 (obsolete) — Splinter Review
Okay, does this fix it for you, ghendricks?
Assignee: webservice → mkanat
Status: NEW → ASSIGNED
Attachment #456379 - Flags: review?(ghendricks)
Comment on attachment 456379 [details] [diff] [review] v1 I still get an error but it is coming from Login::CGI: Fault: Client Can't use string ("1") as a HASH ref while "strict refs" in use at Bugzilla/Auth/Login/CGI.pm line 45. Here is my call: $soapresult = $proxy->call('Environment.get_runs', 1);
Comment on attachment 456379 [details] [diff] [review] v1 + $params = {} if !ref $params eq 'HASH'; should be + $params = {} if ref $params ne 'HASH'; Then it works. :)
Attachment #456379 - Flags: review?(ghendricks) → review-
Attached patch v2Splinter Review
Oh right, duh. :-) Thanks!
Attachment #456379 - Attachment is obsolete: true
Attachment #456473 - Flags: review?(ghendricks)
Attachment #456473 - Flags: review?(ghendricks) → review+
Flags: approval?
Flags: approval?
Flags: approval4.0+
Flags: approval3.6+
Flags: approval+
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified Bugzilla/WebService/Server/XMLRPC.pm Committed revision 7305. Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/4.0/ modified Bugzilla/WebService/Server/XMLRPC.pm Committed revision 7297. Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/3.6/ modified Bugzilla/WebService/Server/XMLRPC.pm Committed revision 7125.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: