[Erp5-report] r10056 - in /erp5/trunk/bt5/erp5_forge: WorkflowTemplateItem/portal_workflow/...
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Sep 17 16:21:16 CEST 2006
Author: jerome
Date: Sun Sep 17 16:21:08 2006
New Revision: 10056
URL: http://svn.erp5.org?rev=10056&view=rev
Log:
set stop date when closing a bug.
Added:
erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/setCloseDate.xml
Modified:
erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts.xml
erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/transitions/close.xml
erp5/trunk/bt5/erp5_forge/bt/revision
Modified: erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts.xml?rev=10056&r1=10055&r2=10056&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts.xml (original)
+++ erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts.xml Sun Sep 17 16:21:08 2006
@@ -40,160 +40,6 @@
<none/>
</value>
</item>
- <item>
- <key> <string>workflow_history</string> </key>
- <value>
- <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
- </value>
- </item>
- </dictionary>
- </pickle>
- </record>
- <record id="2" aka="AAAAAAAAAAI=">
- <pickle>
- <tuple>
- <tuple>
- <string>Persistence</string>
- <string>PersistentMapping</string>
- </tuple>
- <none/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>_container</string> </key>
- <value>
- <dictionary>
- <item>
- <key> <string>order_workflow</string> </key>
- <value>
- <tuple>
- <dictionary>
- <item>
- <key> <string>order_action</string> </key>
- <value> <string>order</string> </value>
- </item>
- <item>
- <key> <string>order_actor</string> </key>
- <value> <string>superseb</string> </value>
- </item>
- <item>
- <key> <string>order_comment</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>order_state</string> </key>
- <value> <string>ordered</string> </value>
- </item>
- <item>
- <key> <string>order_time</string> </key>
- <value>
- <object>
- <klass>
- <global name="DateTime" module="DateTime.DateTime"/>
- </klass>
- <tuple>
- <none/>
- </tuple>
- <state>
- <dictionary>
- <item>
- <key> <string>_aday</string> </key>
- <value> <string>Mon</string> </value>
- </item>
- <item>
- <key> <string>_amon</string> </key>
- <value> <string>Jul</string> </value>
- </item>
- <item>
- <key> <string>_d</string> </key>
- <value> <float>37463.758549</float> </value>
- </item>
- <item>
- <key> <string>_day</string> </key>
- <value> <int>28</int> </value>
- </item>
- <item>
- <key> <string>_dayoffset</string> </key>
- <value> <int>1</int> </value>
- </item>
- <item>
- <key> <string>_fday</string> </key>
- <value> <string>Monday</string> </value>
- </item>
- <item>
- <key> <string>_fmon</string> </key>
- <value> <string>July</string> </value>
- </item>
- <item>
- <key> <string>_hour</string> </key>
- <value> <int>20</int> </value>
- </item>
- <item>
- <key> <string>_millis</string> </key>
- <value> <long>1059415938634</long> </value>
- </item>
- <item>
- <key> <string>_minute</string> </key>
- <value> <int>12</int> </value>
- </item>
- <item>
- <key> <string>_month</string> </key>
- <value> <int>7</int> </value>
- </item>
- <item>
- <key> <string>_nearsec</string> </key>
- <value> <float>18.0</float> </value>
- </item>
- <item>
- <key> <string>_pday</string> </key>
- <value> <string>Mon.</string> </value>
- </item>
- <item>
- <key> <string>_pm</string> </key>
- <value> <string>pm</string> </value>
- </item>
- <item>
- <key> <string>_pmhour</string> </key>
- <value> <int>8</int> </value>
- </item>
- <item>
- <key> <string>_pmon</string> </key>
- <value> <string>July</string> </value>
- </item>
- <item>
- <key> <string>_second</string> </key>
- <value> <float>18.634</float> </value>
- </item>
- <item>
- <key> <string>_t</string> </key>
- <value> <float>1059415938.63</float> </value>
- </item>
- <item>
- <key> <string>_tz</string> </key>
- <value> <string>GMT+2</string> </value>
- </item>
- <item>
- <key> <string>_year</string> </key>
- <value> <int>2003</int> </value>
- </item>
- <item>
- <key> <string>time</string> </key>
- <value> <float>0.758549004626</float> </value>
- </item>
- </dictionary>
- </state>
- </object>
- </value>
- </item>
- </dictionary>
- </tuple>
- </value>
- </item>
- </dictionary>
- </value>
- </item>
</dictionary>
</pickle>
</record>
Added: erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/setCloseDate.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/setCloseDate.xml?rev=10056&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/setCloseDate.xml (added)
+++ erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/scripts/setCloseDate.xml Sun Sep 17 16:21:08 2006
@@ -1,0 +1,148 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <tuple>
+ <string>Products.PythonScripts.PythonScript</string>
+ <string>PythonScript</string>
+ </tuple>
+ <none/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>Python_magic</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>Script_magic</string> </key>
+ <value> <int>3</int> </value>
+ </item>
+ <item>
+ <key> <string>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_bind_names</string> </key>
+ <value>
+ <object>
+ <klass>
+ <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+ </klass>
+ <tuple/>
+ <state>
+ <dictionary>
+ <item>
+ <key> <string>_asgns</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>name_container</string> </key>
+ <value> <string>container</string> </value>
+ </item>
+ <item>
+ <key> <string>name_context</string> </key>
+ <value> <string>context</string> </value>
+ </item>
+ <item>
+ <key> <string>name_m_self</string> </key>
+ <value> <string>script</string> </value>
+ </item>
+ <item>
+ <key> <string>name_subpath</string> </key>
+ <value> <string>traverse_subpath</string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ </dictionary>
+ </state>
+ </object>
+ </value>
+ </item>
+ <item>
+ <key> <string>_body</string> </key>
+ <value> <string>from DateTime import DateTime\n
+bug = state_change[\'object\']\n
+bug.setStopDate(DateTime())\n
+</string> </value>
+ </item>
+ <item>
+ <key> <string>_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_filepath</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_params</string> </key>
+ <value> <string>state_change</string> </value>
+ </item>
+ <item>
+ <key> <string>errors</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>func_code</string> </key>
+ <value>
+ <object>
+ <klass>
+ <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+ </klass>
+ <tuple/>
+ <state>
+ <dictionary>
+ <item>
+ <key> <string>co_argcount</string> </key>
+ <value> <int>1</int> </value>
+ </item>
+ <item>
+ <key> <string>co_varnames</string> </key>
+ <value>
+ <tuple>
+ <string>state_change</string>
+ <string>DateTime</string>
+ <string>_getitem_</string>
+ <string>bug</string>
+ <string>_getattr_</string>
+ </tuple>
+ </value>
+ </item>
+ </dictionary>
+ </state>
+ </object>
+ </value>
+ </item>
+ <item>
+ <key> <string>func_defaults</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>setCloseDate</string> </value>
+ </item>
+ <item>
+ <key> <string>warnings</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/transitions/close.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/transitions/close.xml?rev=10056&r1=10055&r2=10056&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/transitions/close.xml (original)
+++ erp5/trunk/bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_workflow/transitions/close.xml Sun Sep 17 16:21:08 2006
@@ -54,7 +54,7 @@
</item>
<item>
<key> <string>script_name</string> </key>
- <value> <string></string> </value>
+ <value> <string>setCloseDate</string> </value>
</item>
<item>
<key> <string>title</string> </key>
Modified: erp5/trunk/bt5/erp5_forge/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/bt/revision?rev=10056&r1=10055&r2=10056&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/bt/revision (original)
+++ erp5/trunk/bt5/erp5_forge/bt/revision Sun Sep 17 16:21:08 2006
@@ -1,1 +1,1 @@
-93
+94
More information about the Erp5-report
mailing list