[tryton-debian] Bug#743415: python-suds: 04-merge-schema.patch (#728184) causes regression

Moritz Lennert mlennert at club.worldonline.be
Wed Apr 2 13:47:54 UTC 2014


Package: python-suds
Version: 0.4.1-12
Severity: normal

Dear Maintainer,

I've stumbled upon what seems a regression in python-suds due to the
04-merge-schema.patch that was introduced with version 0.4.1-10. The
regression leads to python-suds not importing namespaces correctly from
the wsdl-file.

The following Python code gives different results before and after the
patch:

>>> url = 'http://service.gis.irisnet.be/urbis/Localization?wsdl'
>>> from suds.client import Client
>>> connexion = Client(url)
>>> print connexion

Result in 0.4.1-9:
Service ( Localization ) tns="http://localize"
   Prefixes (2)
         ns0 = "http://localize/faults"
	 ns1 = "http://localize/xsd"
[...]
         Types (5):
            ns1:AddressType
            ns1:ExtensionType
            ns0:InputMessageValidationFaultType
            ns1:PointType
            ns1:StreetType

i.e. two namespaces detected properly and types correctly affected to these namespaces

Result in 0.4.1-10:

Service ( Localization ) tns="http://localize"
   Prefixes (1)
         ns0 = "http://localize"
[...]
         Types (5):
            AddressType
            ExtensionType
            InputMessageValidationFaultType
            PointType
            StreetType

i.e. namespaces not detected correctly, and types not affected to any namespaces.




-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-suds depends on:
ii  python-pkg-resources  2.2-1
pn  python:any            <none>

python-suds recommends no packages.

python-suds suggests no packages.

-- no debconf information



More information about the tryton-debian mailing list