Commit 4b5b7cb2 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add a ToDo comment.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41721 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c4644181
......@@ -210,6 +210,9 @@ class DiscoverableMixin(CachedConvertableMixin):
Return content_type read from metadata extraction of content.
This method is called by portal_contribution_registry
"""
# XXX should be cached in a transactional cache, because this method
# might be called several times by a single call of
# portal_contribution_registry.findPortalTypeName().
mime, content = self.convert(None)
if not content:
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment