[Erp5-report] r20819 - in /erp5/trunk/bt5/erp5_crm: WorkflowTemplateItem/portal_workflow/ev...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Apr 25 16:17:32 CEST 2008


Author: yusei
Date: Fri Apr 25 16:17:30 2008
New Revision: 20819

URL: http://svn.erp5.org?rev=20819&view=rev
Log:
Fixed UnboundLocalError.

Modified:
    erp5/trunk/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createFollowUpTicket.xml
    erp5/trunk/bt5/erp5_crm/bt/revision

Modified: erp5/trunk/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createFollowUpTicket.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createFollowUpTicket.xml?rev=20819&r1=20818&r2=20819&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createFollowUpTicket.xml (original)
+++ erp5/trunk/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createFollowUpTicket.xml Fri Apr 25 16:17:30 2008
@@ -71,6 +71,8 @@
 \n
 event = state_change[\'object\']\n
 \n
+follow_up_ticket_title = \'\'\n
+\n
 if not(len(event.getFollowUpValueList())):\n
   history = event.portal_workflow.getInfoFor(event, \'history\', wf_id=\'event_workflow\')\n
 \n
@@ -132,13 +134,13 @@
                             <string>state_change</string>
                             <string>_getitem_</string>
                             <string>event</string>
+                            <string>follow_up_ticket_title</string>
                             <string>len</string>
                             <string>_getattr_</string>
                             <string>history</string>
                             <string>_getiter_</string>
                             <string>history_item</string>
                             <string>follow_up_ticket_type</string>
-                            <string>follow_up_ticket_title</string>
                           </tuple>
                         </value>
                     </item>

Modified: erp5/trunk/bt5/erp5_crm/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/revision?rev=20819&r1=20818&r2=20819&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/revision (original)
+++ erp5/trunk/bt5/erp5_crm/bt/revision Fri Apr 25 16:17:30 2008
@@ -1,1 +1,1 @@
-222
+223




More information about the Erp5-report mailing list