[Zope-CMF] ZClass indexing probs

Shane Hathaway shane@digicool.com
Thu, 14 Jun 2001 10:22:48 -0400


James van der Veen wrote:
> Hmm I created my own zClass and was trying to make it index itself in the
> portal_catalog
> But every time I try to ad an instance in the portal I get this error (sse
> below). Hope someone can help me.

Try using DefaultDublinCore as one of your base classes.  creation_date
might be coming from the root portal folder, which has a bug that can
make this error occur.  The bug is fixed in CVS AFAIK, but if you don't
derive from DefaultDublinCore or provide your own CreationDate method
then the object will be cataloged with the wrong date.  (Which might not
be a problem anyway. :-) )

Shane