From 7fd2f2659957f5d46eee7cd8c0b25386bc0a1510 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Thu, 24 Mar 2011 16:31:53 +0000 Subject: [PATCH] Make sure to provide a unique id disregarding provided filename value. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44570 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5OOo/transforms/oood_commandtransform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5OOo/transforms/oood_commandtransform.py b/product/ERP5OOo/transforms/oood_commandtransform.py index 289a18a846..437fea6565 100644 --- a/product/ERP5OOo/transforms/oood_commandtransform.py +++ b/product/ERP5OOo/transforms/oood_commandtransform.py @@ -68,7 +68,7 @@ class OOOdCommandTransform(commandtransform): self.context = context if self.mimetype == 'text/html': data = self.includeExternalCssList(data) - tmp_ooo = newTempOOoDocument(context, name) + tmp_ooo = newTempOOoDocument(context, str(id(self))) tmp_ooo.edit( data=data, filename=self.name(), content_type=self.mimetype,) -- 2.30.9