[Zope-CMF] bug (or feature) with Type() field in catalog for newly created CMF objects

Jon Edwards jon@pcgs.freeserve.co.uk
Tue, 11 Sep 2001 11:04:25 +0100


> It's a bug, I think I put it in the tracker. Tres said something about
head
> hurting when I broguht it up ;-)

Aha! I've been bitten by this one I think -
http://lists.zope.org/pipermail/zope-cmf/2001-September/009603.html

As a workround, could you "manually" do -

  <dtml-call manage_changeProperties(portal_type = 'My Type')>
  <dtml-call "reindexObject()">

- (or the python equivalent) in the method/script you're using to create the
objects?

Cheers, Jon