Commit 97cbf5d3 authored by Nicolas Delaby's avatar Nicolas Delaby

In fact raw data must be explicitely used here.

Otherwise detection of content_type returns the base_content_type
which is useless and unwanted.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42261 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f8f7ea9e
......@@ -216,7 +216,7 @@ class DiscoverableMixin(CachedConvertableMixin):
# 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().
content = self.getBaseData()
content = self.getData()
if not content:
return
if magic is not None:
......
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