Exception while call SOAP method by ServiceProxy if there is keyword argument "name"

Bug #236697 reported by Strashkin Pavel
4
Affects Status Importance Assigned to Milestone
zsi (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-zsi

>>lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04

>>apt-cache policy python-zsi
2.0-2ubuntu4

If your SOAP service has method with one of argument called "name" you catch exception "TypeError: ... got multiple values for keyword argument 'name'" when call its. Its occurs because of the definition ServiceProxy._call has "name" argument.

You can got same exception as example:
def soap_method(name, *args, **kwargs):
  pass
soap_method('some value', name='another value') # <-- exception here!!!

Patch attached.

Revision history for this message
Strashkin Pavel (xaka2004) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.