[Erp5-report] r37021 nicolas - /erp5/trunk/products/ERP5Type/WebDAVSupport.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Jul 9 15:27:02 CEST 2010
Author: nicolas
Date: Fri Jul 9 15:27:00 2010
New Revision: 37021
URL: http://svn.erp5.org?rev=37021&view=rev
Log:
Store data into file property to activate convertToBaseFormat features of TextDocument
Modified:
erp5/trunk/products/ERP5Type/WebDAVSupport.py
Modified: erp5/trunk/products/ERP5Type/WebDAVSupport.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/WebDAVSupport.py?rev=37021&r1=37020&r2=37021&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/WebDAVSupport.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/WebDAVSupport.py [utf8] Fri Jul 9 15:27:00 2010
@@ -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
More information about the Erp5-report
mailing list