From 5424147fa9966d4857077ae07f632ba9164b24f3 Mon Sep 17 00:00:00 2001
From: Ivan Tyagov <ivan@nexedi.com>
Date: Tue, 20 Oct 2009 12:00:07 +0000
Subject: [PATCH] Revert r29778

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29846 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../document_interaction_workflow/scripts/upload.xml            | 1 +
 bt5/erp5_dms/bt/revision                                        | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/upload.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/upload.xml
index 6e34497bf4..174d4187ce 100644
--- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/upload.xml
+++ b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/upload.xml
@@ -62,6 +62,7 @@ document.uploadFile()\n
 if document.getParentValue().getPortalType() != \'Contribution Tool\' \\\n
    and document.isSupportBaseDataConversion():\n
   document.processFile()\n
+  document.activate().Document_tryToConvertToBaseFormat()\n
 </string> </value>
         </item>
         <item>
diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision
index 337488c9dc..a76eb9d7a5 100644
--- a/bt5/erp5_dms/bt/revision
+++ b/bt5/erp5_dms/bt/revision
@@ -1 +1 @@
-1042
\ No newline at end of file
+1043
\ No newline at end of file
-- 
2.30.9