From c06b846bb2087ef03ed8be238a6268eb5d35e252 Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Thu, 13 Sep 2007 19:28:50 +0000 Subject: [PATCH] A quick hack instead of jerome's patch. Hope it is enough. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16347 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/File.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5/Document/File.py b/product/ERP5/Document/File.py index 8157d89771..6fbea44ffb 100644 --- a/product/ERP5/Document/File.py +++ b/product/ERP5/Document/File.py @@ -84,6 +84,7 @@ class File(Document, CMFFile, ConversionCacheMixin): # Default global values content_type = '' # Required for WebDAV support (default value) + data = 'Empty File' # A hack required to use OFS.Image.index_html without calling OFS.Image.__init__ # Default Properties property_sheets = ( PropertySheet.Base -- 2.30.9