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 Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   [EMAIL PROTECTED]

Zope-CMF maillist  -

See for bug reports and feature requests

Reply via email to