[CMF-checkins] CVS: Products/CMFCore - TypesTool.py:1.20

Tres Seaver tseaver@zope.com
Fri, 5 Oct 2001 09:52:26 -0400


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv16970/CMFCore

Modified Files:
	TypesTool.py 
Log Message:


  - Ensure that object is recatalogued (e.g., after setting 'portal_type'
    (thanks to Florent Guillaume.)


=== Products/CMFCore/TypesTool.py 1.19 => 1.20 ===
         ob = apply(info.constructInstance, (container, id) + args, kw)
 
+        ob.reindexObject()
+
         if RESPONSE is not None:
             immediate_url = '%s/%s' % ( ob.absolute_url()
                                       , info.immediate_view )