[Zope] Re: ZSQL Woes....HELP!

Dieter Maurer dieter@handshake.de
Mon, 12 Mar 2001 23:31:19 +0100 (CET)


The Doctor What writes:
 > > ... Z SQL method ...
 > > Arguments: ID:int=2
 > > -------------------------
 > > ...
 > > <dtml-if expr="ID != 2">
 > >   ...
 > >   </dtml-if>
 > >   </dtml-sqlgroup>
 > > -------------------------
 > > 
 > > ....
 > > URL:
 > > http://docwhat.gerf.org:9673/pi/links/tmp/manage_test?SUBMIT=Submit+Query
 > > Produces:
 > > select * from url ....
 > > 
 > > Which is WRONG!  It's brimming over with wrongability.
 > This is a ZOPE bug, isn't it.  I bet the ID is stowed someplace that
 > DTML-IF can't reach it, but DTML-VAR can....or somesuch.
It is a bug, but you will loose you bet.

The bug is that Zope does not apply the type conversion to the
default value.

Put it into the collector.


Dieter