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 1d5e3e2bf08c414e49a5e1bf32f3f5839d9a380e..93e1d8b8f1a8cf54a74fd09c3b5e322df92cbc98 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,6 +88,8 @@ merged_content = None\n \n try:\n new_content = context.portal_contributions.newContent(**kw)\n + # set file_name\n + new_content.setSourceReference(file_name)\n if new_content.isSupportBaseDataConversion():\n new_content.processFile()\n merged_content = new_content.Document_convertToBaseFormatAndDiscoverMetadata(file_name=file_name)\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 90064a90625106c3979f814cf3bd6b744c17e9d2..e2a83a8ce3c7e2098c21145f578ff91b7541c16a 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -854 \ No newline at end of file +855 \ No newline at end of file