From 423c62f6f0ef88e3edcb3f36791434ee410c7c39 Mon Sep 17 00:00:00 2001
From: Thierry Brettnacher <tb@nexedi.com>
Date: Fri, 14 Sep 2007 17:21:38 +0000
Subject: [PATCH] 2007-09-14 Thierry * Bug fix in Event_createRespondEvent

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16379 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../event_workflow/scripts/Event_createRespondEvent.xml      | 5 +++--
 bt5/erp5_crm/bt/revision                                     | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createRespondEvent.xml b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createRespondEvent.xml
index 4e5f7106a4..3a2b0dccfd 100644
--- a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createRespondEvent.xml
+++ b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createRespondEvent.xml
@@ -72,6 +72,7 @@
 # the current event\n
 \n
 event = state_change[\'object\']\n
+respond_event_portal_type = None\n
 \n
 history = event.portal_workflow.getInfoFor(event, \'history\', wf_id=\'event_workflow\')\n
 \n
@@ -137,14 +138,14 @@ if respond_event_portal_type is not None:\n
                             <string>state_change</string>
                             <string>_getitem_</string>
                             <string>event</string>
+                            <string>None</string>
+                            <string>respond_event_portal_type</string>
                             <string>_getattr_</string>
                             <string>history</string>
                             <string>_getiter_</string>
                             <string>history_item</string>
-                            <string>respond_event_portal_type</string>
                             <string>respond_event_title</string>
                             <string>respond_event_description</string>
-                            <string>None</string>
                           </tuple>
                         </value>
                     </item>
diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision
index 97a55e1d74..0aede4a000 100644
--- a/bt5/erp5_crm/bt/revision
+++ b/bt5/erp5_crm/bt/revision
@@ -1 +1 @@
-101
\ No newline at end of file
+102
\ No newline at end of file
-- 
2.30.9