[Zope] Newbie Question : Problems with Automatic Cataloging of ZClasses

Dieter Maurer dieter@handshake.de
Wed, 27 Feb 2002 20:36:35 +0100


Dianne Van Dulken writes:
 > ....
 > I've done this, matching up the names to what I have them as, but now,
 > whenever I try to define anything I get the following error:
 > 
 > "
 > Traceback (innermost last):
 > ...
 >   File /home/Zope-2.5.0/lib/python/OFS/PropertySheets.py, line 215, in
 > _updateProperty
 >   File /home/Zope-2.5.0/lib/python/ZPublisher/Converters.py, line 111, in
 > field2date
 >   File /home/Zope-2.5.0/lib/python/DateTime/DateTime.py, line 625, in
 > __init__
 > Invalid Date-Time String: (see above)
 > "
 > 
 > Presumably something nasty has happened with my date, but I can't for the
 > life of me work out what it is.  Any ideas would be greatfully accepted.
Your request contains a string for a date property that cannot be
converted into a date.
Probably its the empty string.

Use the ":default" and ":ignore_empty" features to avoid empty
date fields. You can find out more in 

  <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>



Dieter