[Zope-dev] RE: [Support] Sybase 11.9.2 with Zope 2.2.0

Brian Lloyd brian@digicool.com
Fri, 3 Nov 2000 11:34:19 -0500


> Error Type: AttributeError
>              Error Value: 'string' object has no attribute 'server'
>
> The error is raised because in the Sybase Adapter an attribute 'server' of
> connection_string is accessed.
> Looking at the 2.1.6 code of Connection.py I found two new lines,
> which convert
> connection_string into a real string. Commenting out these lines makes
> everything work. But: IS THIS SAFE? connection_string is of type
> ZPublisher.HTTPRequest.record before the str() conversion.

Thanks for the report - I've checked in a fix for this
for the next release.

Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909
Digital Creations  http://www.digicool.com