Commit cac9f59e authored by Nicolas Delaby's avatar Nicolas Delaby

format = 'text' is not handle by portal_transforms.

Use document.asText() instead, to avoid any confusion.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35400 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2c069baf
...@@ -112,7 +112,7 @@ bug_message_list.extend(lines_list)\n ...@@ -112,7 +112,7 @@ bug_message_list.extend(lines_list)\n
message_count = len(bug_message_list)+1\n message_count = len(bug_message_list)+1\n
for message in bug_message_list:\n for message in bug_message_list:\n
message_count -= 1\n message_count -= 1\n
content_type, text = message.convert(\'text\')\n text = message.asText()\n
body += """\n body += """\n
++++++ Message #%s submitted by %s on %s ++++++\n ++++++ Message #%s submitted by %s on %s ++++++\n
%s\n %s\n
...@@ -181,7 +181,6 @@ portal.portal_notifications.sendMessage(sender=bug_message.getSourceValue(),\n ...@@ -181,7 +181,6 @@ portal.portal_notifications.sendMessage(sender=bug_message.getSourceValue(),\n
<string>len</string> <string>len</string>
<string>message_count</string> <string>message_count</string>
<string>message</string> <string>message</string>
<string>content_type</string>
<string>text</string> <string>text</string>
<string>recipient_list</string> <string>recipient_list</string>
<string>portal</string> <string>portal</string>
......
597 598
\ 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