Commit c252e31c authored by Yusei Tahara's avatar Yusei Tahara

Call convertToBaseFormat explicitly.(By recent dms refactoring, conversion to...

Call convertToBaseFormat explicitly.(By recent dms refactoring, conversion to base format is not done implicitly.)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18478 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7b57c8d6
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -150,6 +147,7 @@ if not (content_type.startswith(\'application/vnd.sun.xml\')\n ...@@ -150,6 +147,7 @@ if not (content_type.startswith(\'application/vnd.sun.xml\')\n
tmp_ooo = newTempOOoDocument(context, "_")\n tmp_ooo = newTempOOoDocument(context, "_")\n
tmp_ooo.edit(data=import_file.read(),\n tmp_ooo.edit(data=import_file.read(),\n
content_type=content_type)\n content_type=content_type)\n
tmp_ooo.convertToBaseFormat()\n
ignored, import_file_content = tmp_ooo.convert(\'sxc\')\n ignored, import_file_content = tmp_ooo.convert(\'sxc\')\n
OOoParser.openFromString(str(import_file_content))\n OOoParser.openFromString(str(import_file_content))\n
else:\n else:\n
...@@ -495,6 +493,7 @@ return context.REQUEST.RESPONSE.redirect(\n ...@@ -495,6 +493,7 @@ return context.REQUEST.RESPONSE.redirect(\n
<string>column_id</string> <string>column_id</string>
<string>path_def_started</string> <string>path_def_started</string>
<string>_write_</string> <string>_write_</string>
<string>_inplacevar_</string>
<string>categories</string> <string>categories</string>
<string>base_category_name</string> <string>base_category_name</string>
<string>base_category_id</string> <string>base_category_id</string>
......
657 658
\ No newline at end of file \ No newline at end of file
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