CMF 1.5.4 (and trunk) has in TypesTool.allowType some backward compat
code added a long time ago when allowed_content_types was fixed to
compare to the TI id and not its title.
Unless there's opposition, I'll remove this code as it adds an
additional useless loop over all content types, which makes
PortalFolder.allowedContentTypes have quadratic behavior in the
number of types defined and slows it down a lot.
Florent
--
Florent Guillaume, Nuxeo (Paris, France) Director of R&D
+33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]
_______________________________________________
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org/CMF for bug reports and feature requests