[Zope-CMF] creator and getOwner

Florent Guillaume fg at nuxeo.com
Mon Nov 8 12:49:55 EST 2004


Hi,

In DublinCore, Creator (listCreators in recent CMFs) calls getOwner just 
to get its id. This can be very costly because it goes all the way to 
the user folder to get the user object (which can be expensive to 
compute if it comes from LDAP, for intance), to finally just call 
getId() on it.

Anyone opposed to basically calling getOwnerTuple()[1] instead ?

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com


More information about the Zope-CMF mailing list