Commit caa6bce2 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Convert to base format before trying to find destination formats.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14420 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2c0b5351
...@@ -179,6 +179,9 @@ class OOoDocument(File, ConversionCacheMixin): ...@@ -179,6 +179,9 @@ class OOoDocument(File, ConversionCacheMixin):
NOTE: it is the responsability of the conversion server NOTE: it is the responsability of the conversion server
to provide an extensive list of conversion formats. to provide an extensive list of conversion formats.
""" """
if not self.hasBaseData():
self.convertToBaseFormat()
def cached_getTargetFormatItemList(content_type): def cached_getTargetFormatItemList(content_type):
server_proxy = self._mkProxy() server_proxy = self._mkProxy()
try: try:
......
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