Commit 834ce074 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Klaus Wölfel

[erp5_property_sheets]: set default of text_content to empty string

Before, the text content of a new text document derived portal type
suche as Notebook was None. This lead to ui problems
(displaying None in text editor) and to download the data attachment
from jio because downloadable mixin would try to get len(None)
parent a953f2c6
...@@ -47,6 +47,10 @@ ...@@ -47,6 +47,10 @@
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <string>Standard Property</string> </value> <value> <string>Standard Property</string> </value>
</item> </item>
<item>
<key> <string>property_default</string> </key>
<value> <string>python: \'\'</string> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
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