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

Yvo Schubbe schubbe at web.de
Fri Dec 19 09:46:55 EST 2003


Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv8673/CMFCore

Modified Files:
      Tag: yuppie-collector025-branch
	TypesTool.py 
Log Message:
- call notifyModified and reindexObject after content creation


=== CMF/CMFCore/TypesTool.py 1.63 => 1.63.2.1 ===
--- CMF/CMFCore/TypesTool.py:1.63	Thu Nov 27 10:06:49 2003
+++ CMF/CMFCore/TypesTool.py	Fri Dec 19 09:46:54 2003
@@ -327,11 +327,11 @@
         """
         if hasattr(ob, '_setPortalTypeName'):
             ob._setPortalTypeName(self.getId())
-            ob.reindexObject(idxs=['portal_type', 'Type'])
 
         if hasattr(aq_base(ob), 'notifyWorkflowCreated'):
             ob.notifyWorkflowCreated()
 
+        ob.reindexObject()
         return ob
 
     security.declareProtected(ManagePortal, 'getMethodAliases')




More information about the CMF-checkins mailing list