[Erp5-report] r23355 - in /erp5/trunk/bt5/erp5_forge: WorkflowTemplateItem/portal_workflow/...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Sep 2 18:56:00 CEST 2008


Author: nicolas
Date: Tue Sep  2 18:55:59 2008
New Revision: 23355

URL: http://svn.erp5.org?rev=23355&view=rev
Log:
Convert TextContent in text

Modified:
    erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_event_workflow/scripts/BugEvent_sendNotification.xml
    erp5/trunk/bt5/erp5_forge/bt/revision

Modified: erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_event_workflow/scripts/BugEvent_sendNotification.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_event_workflow/scripts/BugEvent_sendNotification.xml?rev=23355&r1=23354&r2=23355&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_event_workflow/scripts/BugEvent_sendNotification.xml (original)
+++ erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_event_workflow/scripts/BugEvent_sendNotification.xml Tue Sep  2 18:55:59 2008
@@ -110,11 +110,12 @@
 message_count = len(bug_message_list)+1\n
 for message in bug_message_list:\n
     message_count -= 1\n
+    content_type, text = message.convert(\'text\')\n
     body += """\n
 ++++++ Message #%s submitted by %s on %s ++++++\n
 %s\n
 """ % (message_count, bug_message.getSourceTitle(\'\'),\n
-            message.getStartDate(),  message.getTextContent(\'\') )\n
+            message.getStartDate(),  text )\n
 \n
 recipient_list = bug_message.BugLine_getRecipientValueList()\n
 \n
@@ -180,6 +181,8 @@
                             <string>message_count</string>
                             <string>_getiter_</string>
                             <string>message</string>
+                            <string>content_type</string>
+                            <string>text</string>
                             <string>recipient_list</string>
                             <string>portal</string>
                           </tuple>

Modified: erp5/trunk/bt5/erp5_forge/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/bt/revision?rev=23355&r1=23354&r2=23355&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/bt/revision (original)
+++ erp5/trunk/bt5/erp5_forge/bt/revision Tue Sep  2 18:55:59 2008
@@ -1,1 +1,1 @@
-341
+342




More information about the Erp5-report mailing list