Commit 7fd2f265 authored by Nicolas Delaby's avatar Nicolas Delaby

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
parent 108db45a
...@@ -68,7 +68,7 @@ class OOOdCommandTransform(commandtransform): ...@@ -68,7 +68,7 @@ class OOOdCommandTransform(commandtransform):
self.context = context self.context = context
if self.mimetype == 'text/html': if self.mimetype == 'text/html':
data = self.includeExternalCssList(data) data = self.includeExternalCssList(data)
tmp_ooo = newTempOOoDocument(context, name) tmp_ooo = newTempOOoDocument(context, str(id(self)))
tmp_ooo.edit( data=data, tmp_ooo.edit( data=data,
filename=self.name(), filename=self.name(),
content_type=self.mimetype,) content_type=self.mimetype,)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment