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

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Oct 1 16:02:44 CEST 2008


Author: yusei
Date: Wed Oct  1 16:02:27 2008
New Revision: 23939

URL: http://svn.erp5.org?rev=23939&view=rev
Log:
2008-10-01 yusei
* Fixed UnboundLocalError in Bug_sendNotification.

Modified:
    erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/Bug_sendNotification.xml
    erp5/trunk/bt5/erp5_forge/bt/change_log
    erp5/trunk/bt5/erp5_forge/bt/revision

Modified: erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/Bug_sendNotification.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/Bug_sendNotification.xml?rev=23939&r1=23938&r2=23939&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/Bug_sendNotification.xml (original)
+++ erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/Bug_sendNotification.xml Wed Oct  1 16:02:27 2008
@@ -58,6 +58,7 @@
 bug = state_change["object"]\n
 history = bug.portal_workflow.getInfoFor(bug, \'history\',\n
                                          wf_id=\'bug_workflow\')\n
+is_re_assign_action = False\n
 for history_item in history[::-1]:\n
   if same_type(history_item[\'action\'], \'\') and history_item[\'action\'].endswith(\'action\'):\n
     send_event = history_item[\'send_event\']\n
@@ -136,12 +137,13 @@
                             <string>bug</string>
                             <string>_getattr_</string>
                             <string>history</string>
+                            <string>False</string>
+                            <string>is_re_assign_action</string>
                             <string>_getiter_</string>
                             <string>history_item</string>
                             <string>same_type</string>
                             <string>send_event</string>
                             <string>bool</string>
-                            <string>is_re_assign_action</string>
                             <string>valid_transaction_list</string>
                             <string>append</string>
                             <string>$append0</string>

Modified: erp5/trunk/bt5/erp5_forge/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/bt/change_log?rev=23939&r1=23938&r2=23939&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_forge/bt/change_log Wed Oct  1 16:02:27 2008
@@ -1,3 +1,6 @@
+2008-10-01 yusei
+* Fixed UnboundLocalError in Bug_sendNotification.
+
 2008-10-01 yusei
 * Update xml format.
 

Modified: erp5/trunk/bt5/erp5_forge/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/bt/revision?rev=23939&r1=23938&r2=23939&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/bt/revision (original)
+++ erp5/trunk/bt5/erp5_forge/bt/revision Wed Oct  1 16:02:27 2008
@@ -1,1 +1,1 @@
-383
+384




More information about the Erp5-report mailing list