From 1f5a9d5080b507dabe31c454fea16812928809df Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Fri, 9 Jul 2010 13:27:00 +0000 Subject: [PATCH] Store data into file property to activate convertToBaseFormat features of TextDocument git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37021 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/WebDAVSupport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/WebDAVSupport.py b/product/ERP5Type/WebDAVSupport.py index 71a99de110..eff5ba727c 100644 --- a/product/ERP5Type/WebDAVSupport.py +++ b/product/ERP5Type/WebDAVSupport.py @@ -129,7 +129,7 @@ class TextContent: headers, body, format = self.handleText(text=body) content_type = REQUEST.get_header('Content-Type', '') headers.setdefault('content_type', content_type) - headers['text_content'] = body + headers['file'] = body self._edit(**headers) except 'EditingConflict', msg: # XXX Can we get an error msg through? Should we be raising an -- 2.30.9