[Zope] DTML #var null= problem/patch
TFE MMS JARVIS JOHN
jarvis.sd082@ex.tel.co.jp
Tue, 2 Mar 1999 19:09:28 +0900
Thank you for pointing out how to fix this. At first, the patch
didn't work with ZSQLMethods until I made a small change:
271a272,274
> #richard jone's null patch --- slightly modified by jj
> elif have_arg('null') and not val:
> val = args['null']
val wasn't set to None and so the null attribute never got used. Since
None is false, the above should be OK. (It seems to work for me,
anyway :^)
John Jarvis
Tokyo Electron, FE Ltd.
> -----Original Message-----
> From: richard.jones@fulcrum.com.au [SMTP:richard.jones@fulcrum.com.au]
> Sent: Monday, March 01, 1999 8:31 AM
> To: Philip Aylesworth
> Cc: zope@zope.org
> Subject: Re: [Zope] DTML #var null= problem/patch
>
>
> [Philip Aylesworth]
> > Does your patch mean that I don't need a fmt= atribute?
>
> Yes.
>
>
> > Are you using 1.9 or 1.10?
> > Does 1.10 do the same thing?
>
> My patch was against 1.10
>
>
> > Should you send this to the collector? From the documentation I expected
> it
> > to work without the fmt= atribute, therefore, it could be considered a
> bug,
> > right?
>
> Yep, I've submitted a report to the Collector.
>
>
> Richard
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope