[Erp5-report] r31398 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTe...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Dec 18 16:29:32 CET 2009


Author: ivan
Date: Fri Dec 18 16:29:31 2009
New Revision: 31398

URL: http://svn.erp5.org?rev=31398&view=rev
Log:
Set file name.
This can help backend (oood) determine proper writer/import filters based on file extensions built in patterns.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_contributeContent.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_contributeContent.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_contributeContent.xml?rev=31398&r1=31397&r2=31398&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_contributeContent.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_contributeContent.xml [utf8] Fri Dec 18 16:29:31 2009
@@ -88,6 +88,8 @@
 \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

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=31398&r1=31397&r2=31398&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Fri Dec 18 16:29:31 2009
@@ -1,1 +1,1 @@
-854
+855




More information about the Erp5-report mailing list