Commit 362ebfae authored by Arnaud Fontaine's avatar Arnaud Fontaine

erp5_base: Convert Document when calling update_data().

When portal_contributions.PUT() is called, Document was not converted (and `base_data`
was not set) by document_conversion_interaction_workflow as this was only done on
_set{Data,File}() and OFS.Image.update_data() sets `data` property directly.

This fixes failures on testWebDavSupport.test_GET_on_{contributionTool,document}
with erp5_full_text_*_catalog bt5 installed: SQLCatalog_deferFullTextIndexActivity
Activity failing with `NotConvertedError` when trying to convert to txt as
`base_data` is not set.
parent 8bf633f4
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
<list> <list>
<string>_setFile</string> <string>_setFile</string>
<string>_setData</string> <string>_setData</string>
<string>update_data</string>
</list> </list>
</value> </value>
</item> </item>
......
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