#188 address.py assumes reference parameters, which are optional

v2.0
closed-fixed
zsi (169)
5
2007-02-16
2006-12-19
Stan Klein
No

After providing the wsAddressURI, but not intending to use the optional ReferenceParameters, a traceback that included the following was received:

self.binding.Send(None, None, request,
soapaction="http://www.osecs.com/wsdl/generated/Associate",
wsaction=wsaction, endPointReference=self.endPointReference, **kw)
File "build/bdist.linux-i686/egg/ZSI/client.py", line 242, in
Send File
"build/bdist.linux-i686/egg/ZSI/address.py", line 187, in
setRequest
AttributeError: 'NoneType' object has no attribute '_any'

Discussion

    • assigned_to: nobody --> boverhof
    • status: open --> pending-fixed
     
  • Logged In: YES
    user_id=711996
    Originator: NO

    This is fixed I added a few unittests so this behavior won't change unnoticed in the future.

     
    • status: pending-fixed --> closed-fixed
     
  • Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).