diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_contributeContent.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_contributeContent.xml index 4d9c7f9141d66298ffb5b5dbfde537b2acf92bca..26c09e9b21a1c328f2331fb07922c0dfc39b0266 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_contributeContent.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_contributeContent.xml @@ -88,8 +88,9 @@ merged_content = None\n \n try:\n new_content = context.portal_contributions.newContent(**kw)\n - new_content.processFile()\n - merged_content = new_content.Document_convertToBaseFormatAndDiscoverMetadata(file_name=file_name)\n + if new_content.isSupportBaseDataConversion():\n + new_content.processFile()\n + merged_content = new_content.Document_convertToBaseFormatAndDiscoverMetadata(file_name=file_name)\n except ConversionError, Fault:\n # there are errors during ingestion content\n failure = 1\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 3f986b9191e0e52d248f98dfac53523d66f88067..6a34de5d27e1b7b3eae0e1bb1b38cad05ddadde9 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -842 \ No newline at end of file +843 \ No newline at end of file