[Zope-CMF] object indexing at creation

Florent Guillaume fg at nuxeo.com
Tue Jul 6 13:03:18 EDT 2004


I'm concerned about double reindexings that cost time.
Why is there now a full ob.reindexObject() in _finishConstruction ?

There has already been an ob.indexObject() done at manage_afterAdd time, 
and notifyWorkflowCreated calls the wf that reindexes its own variables. 
Finally when we change the portal type, only a subset of the indexes 
need to be changed (my old code).

If a scriptable type info does change the object, I feel it's its job to 
call reindexObject.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg at nuxeo.com


More information about the Zope-CMF mailing list