[Erp5-report] r17138 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Oct 23 18:27:14 CEST 2007
Author: jerome
Date: Tue Oct 23 18:27:14 2007
New Revision: 17138
URL: http://svn.erp5.org?rev=17138&view=rev
Log:
Base_download was getting RESPONSE from RESPONSE but anyway if you go in this branch, it's likely because hasattr is false due to Unauthorized
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_download.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_download.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_download.xml?rev=17138&r1=17137&r2=17138&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_download.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_download.xml Tue Oct 23 18:27:14 2007
@@ -74,7 +74,7 @@
if hasattr(context,\'getContentType\'):\n
response.setHeader(\'Content-type\', context.getContentType())\n
else:\n
- response.RESPONSE.setHeader(\'Content-type\', context.getFormat())\n
+ response.setHeader(\'Content-type\', context.getFormat())\n
\n
file_name = context.getSourceReference() or context.getTitle() or context.getId()\n
response.setHeader(\'Content-disposition\', \'attachment;; filename="%s"\' % file_name)\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=17138&r1=17137&r2=17138&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Tue Oct 23 18:27:14 2007
@@ -1,1 +1,1 @@
-544
+545
More information about the Erp5-report
mailing list