Commit 84d9a667 authored by Bartek Górny's avatar Bartek Górny

convert to base format on second stage of discovery

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12198 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f408e855
...@@ -824,6 +824,8 @@ class Document(XMLObject): ...@@ -824,6 +824,8 @@ class Document(XMLObject):
for later. It converts what needs conversion to base, and for later. It converts what needs conversion to base, and
does things that can be done only after it is converted). does things that can be done only after it is converted).
""" """
if getattr(self, 'convertToBase', _MARKER) is not _MARKER:
self.convertToBase()
# Get the order from preferences # Get the order from preferences
# Preference is made of a sequence of 'user_login', 'content', 'file_name', 'input' # Preference is made of a sequence of 'user_login', 'content', 'file_name', 'input'
method = self._getTypeBasedMethod('getPreferredDocumentMetadataDiscoveryOrderList', method = self._getTypeBasedMethod('getPreferredDocumentMetadataDiscoveryOrderList',
......
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