[Zope] Pesky DateTime problem

Timothy Wilson wilson@visi.com
Fri, 15 Dec 2000 17:23:14 -0600 (CST)


On Fri, 15 Dec 2000, seb bacon wrote:

> > The problem lies in adding an instance of the job board ZClass at which
> > point Zope reports an "Invalid Date-Time String".
> 
> You might have considered this already, but you're not supplying a 
> default date in the DateTime field of the form.  This can cause problems, 
> because there's a bug in zope that won't allow null values in DateTime 
> properties.  

I thought that was only a problem when defining the list of properties
initially. I didn't think you had to supply a default when creating actual
instances of the class.

-Tim

--
Tim Wilson      | Visit Sibley online:         | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |                              | http://slashdot.org/
wilson@visi.com |   <dtml-var pithy_quote>     | http://linux.com/