[Zope-CMF] Bug in FSZSQLMethod.py of CMFCore 1.3b1
Fernando José Pérez Mayor
ferpema@iti.upv.es
Mon, 27 May 2002 13:33:10 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_000B_01C20583.0B2935E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi
I have found an error in the source of this program.
The error do not permit to use the program because it does not get the =
connect parameter correctly.
The original code is:
connection_id =3D parameters.get('connection =
id',parameters['connection_id'])
The correct code (I believe) is:
connection_id =3D =
parameters.get('connection_id',parameters['connection_id'])
If it's true, I hope you can upgrade this error in future versions and =
all affected users can correct your programs.
Thanks
------=_NextPart_000_000B_01C20583.0B2935E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2713.1100" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have found an error in the =
source of=20
this program.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The error do not permit to =
use the=20
program because it does not get the connect parameter=20
correctly.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The original code is:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> connection_id =
=3D=20
parameters.get(<STRONG>'connection=20
id'</STRONG>,parameters['connection_id'])</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The correct code (I believe) =
is:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> connection_id =
=3D=20
parameters.get(<STRONG>'connection_id'</STRONG>,parameters['connection_id=
'])</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>If it's true, I hope you can upgrade =
this error in=20
future versions and all affected users can correct your =
programs.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV></BODY></HTML>
------=_NextPart_000_000B_01C20583.0B2935E0--