Commit 0f7a1d0b authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

erp5_workflow_test_data: redefine testing_workflow,...

erp5_workflow_test_data: redefine testing_workflow, testing_interaction_workflow; add testing_workflow_workflow, testing_interaction_workflow_interaction which are erp5workflow with suffix.
parent 7cd2eae8
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PermissionRoles" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>base_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>base_id</string> </key>
<value> <string>cell</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cell_0_6</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>PermissionRoles</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PermissionRoles" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>base_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>base_id</string> </key>
<value> <string>cell</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cell_1_6</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>PermissionRoles</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PermissionRoles" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>base_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>base_id</string> </key>
<value> <string>cell</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cell_2_6</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>PermissionRoles</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PermissionRoles" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>base_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>base_id</string> </key>
<value> <string>cell</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cell_3_6</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>PermissionRoles</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>5</string> </value> <value> <string>testing_interaction_workflow_interactionworkflow</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Testing Interactio Workflow</string> </value> <value> <string>Testing Interaction Workflow</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -66,7 +66,7 @@ document.setDescription(\'Interaction of setTitle executed.\')\n ...@@ -66,7 +66,7 @@ document.setDescription(\'Interaction of setTitle executed.\')\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>1</string> </value> <value> <string>afterSetTitle</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
......
...@@ -58,6 +58,12 @@ document.setTitle("toto")\n ...@@ -58,6 +58,12 @@ document.setTitle("toto")\n
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>state_change</string> </value> <value> <string>state_change</string> </value>
</item> </item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <value>
...@@ -66,7 +72,7 @@ document.setTitle("toto")\n ...@@ -66,7 +72,7 @@ document.setTitle("toto")\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>2</string> </value> <value> <string>afterValidate</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>3</string> </value> <value> <string>setTitle_interaction_interaction</string> </value>
</item> </item>
<item> <item>
<key> <string>method_id</string> </key> <key> <string>method_id</string> </key>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>4</string> </value> <value> <string>validate_interaction_interaction</string> </value>
</item> </item>
<item> <item>
<key> <string>method_id</string> </key> <key> <string>method_id</string> </key>
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Validation Interaction</string> </value> <value> <string>Validate Interaction</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -12,6 +12,23 @@ ...@@ -12,6 +12,23 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>workflow_managed_permission</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item> <item>
<key> <string>_mt_index</string> </key> <key> <string>_mt_index</string> </key>
<value> <value>
...@@ -28,17 +45,17 @@ ...@@ -28,17 +45,17 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>source/portal_workflow/4/1</string> <string>source/portal_workflow/testing_workflow_workflow/draft_state</string>
</tuple> </tuple>
</value> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>This workflow is for unittest tesWorkflowAndDCWorkflow.</string> </value> <value> <string>This workflow is for the unittest testWorkflowAndDCWorkflow.</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>4</string> </value> <value> <string>testing_workflow_workflow</string> </value>
</item> </item>
<item> <item>
<key> <string>managed_permission_list</string> </key> <key> <string>managed_permission_list</string> </key>
...@@ -59,6 +76,10 @@ ...@@ -59,6 +76,10 @@
<key> <string>ref</string> </key> <key> <string>ref</string> </key>
<value> <string>testing_workflow</string> </value> <value> <string>testing_workflow</string> </value>
</item> </item>
<item>
<key> <string>state_base_category</string> </key>
<value> <string>validation_state</string> </value>
</item>
<item> <item>
<key> <string>state_variable</string> </key> <key> <string>state_variable</string> </key>
<value> <string>validation_state</string> </value> <value> <string>validation_state</string> </value>
...@@ -67,6 +88,14 @@ ...@@ -67,6 +88,14 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Testing Workflow</string> </value> <value> <string>Testing Workflow</string> </value>
</item> </item>
<item>
<key> <string>workflow_managed_permission</string> </key>
<value>
<tuple>
<string>Access contents information</string>
</tuple>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -28,9 +28,15 @@ erp5workflow_test_module/view?validation_state=draft&local_roles:list=Assignee&l ...@@ -28,9 +28,15 @@ erp5workflow_test_module/view?validation_state=draft&local_roles:list=Assignee&l
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Document to Validate</string> </value> <value> <string>Document to Validate</string> </value>
</item> </item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>5</string> </value> <value> <string>1_draft_document_list_worklist</string> </value>
</item> </item>
<item> <item>
<key> <string>matched_portal_type</string> </key> <key> <string>matched_portal_type</string> </key>
...@@ -50,7 +56,7 @@ erp5workflow_test_module/view?validation_state=draft&local_roles:list=Assignee&l ...@@ -50,7 +56,7 @@ erp5workflow_test_module/view?validation_state=draft&local_roles:list=Assignee&l
<key> <string>matched_validation_state</string> </key> <key> <string>matched_validation_state</string> </key>
<value> <value>
<tuple> <tuple>
<string>draft</string> <string>draft_state</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -73,7 +79,31 @@ erp5workflow_test_module/view?validation_state=draft&local_roles:list=Assignee&l ...@@ -73,7 +79,31 @@ erp5workflow_test_module/view?validation_state=draft&local_roles:list=Assignee&l
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>1_draft_document_list</string> </value> <value> <string>Draft Documents</string> </value>
</item>
<item>
<key> <string>var_matches</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<list>
<string>Assignee</string>
<string>Assignor</string>
</list>
</value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -6,6 +6,10 @@ ...@@ -6,6 +6,10 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>automatic_update</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>default_expr</string> </key> <key> <string>default_expr</string> </key>
<value> <string>transition/getId|nothing</string> </value> <value> <string>transition/getId|nothing</string> </value>
...@@ -24,9 +28,17 @@ ...@@ -24,9 +28,17 @@
<key> <string>for_catalog</string> </key> <key> <string>for_catalog</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item>
<key> <string>for_status</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>15</string> </value> <value> <string>action_variable</string> </value>
</item>
<item>
<key> <string>initial_value</string> </key>
<value> <string>python: None</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>16</string> </value> <value> <string>actor_variable</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
......
...@@ -60,11 +60,13 @@ document.setDescription("After script was executed.")\n ...@@ -60,11 +60,13 @@ document.setDescription("After script was executed.")\n
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>set description.</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>4</string> </value> <value> <string>after_script</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
......
...@@ -60,11 +60,13 @@ document.setDescription("Before script was executed.")\n ...@@ -60,11 +60,13 @@ document.setDescription("Before script was executed.")\n
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>set description.</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>21</string> </value> <value> <string>before_script</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>17</string> </value> <value> <string>comment_variable</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
......
...@@ -14,9 +14,7 @@ ...@@ -14,9 +14,7 @@
</item> </item>
<item> <item>
<key> <string>actbox_name</string> </key> <key> <string>actbox_name</string> </key>
<value> <value> <string>Delete</string> </value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>actbox_url</string> </key> <key> <string>actbox_url</string> </key>
...@@ -28,7 +26,7 @@ ...@@ -28,7 +26,7 @@
<key> <string>after_script_id</string> </key> <key> <string>after_script_id</string> </key>
<value> <value>
<tuple> <tuple>
<string>delete</string> <string>delete_transition</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -38,19 +36,31 @@ ...@@ -38,19 +36,31 @@
<tuple/> <tuple/>
</value> </value>
</item> </item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <value>
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>guard_expression</string> </key> <key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value> <value> <string>python: True</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>10</string> </value> <value> <string>delete_action_transition</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
...@@ -74,6 +84,29 @@ ...@@ -74,6 +84,29 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Delete Action</string> </value> <value> <string>Delete Action</string> </value>
</item> </item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<list>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</list>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/portal_workflow/4/6</string> <string>destination/portal_workflow/testing_workflow_workflow/deleted_state</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>9</string> </value> <value> <string>delete_transition</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>6</string> </value> <value> <string>deleted_state</string> </value>
</item> </item>
<item> <item>
<key> <string>index</string> </key> <key> <string>index</string> </key>
......
...@@ -28,10 +28,8 @@ ...@@ -28,10 +28,8 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/portal_workflow/4/2</string> <string>destination/portal_workflow/testing_workflow_workflow/validate_transition</string>
<string>destination/portal_workflow/4/13</string> <string>destination/portal_workflow/testing_workflow_workflow/validate_action_transition</string>
<string>destination/portal_workflow/4/9</string>
<string>destination/portal_workflow/4/10</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -43,7 +41,7 @@ ...@@ -43,7 +41,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>7</string> </value> <value> <string>draft_state</string> </value>
</item> </item>
<item> <item>
<key> <string>index</string> </key> <key> <string>index</string> </key>
...@@ -57,11 +55,11 @@ ...@@ -57,11 +55,11 @@
</item> </item>
<item> <item>
<key> <string>ref</string> </key> <key> <string>ref</string> </key>
<value> <string>invalidated</string> </value> <value> <string>draft</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Invalidated</string> </value> <value> <string>Draft</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>18</string> </value> <value> <string>error_message_variable</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>ErrorMessage</string> </value> <value> <string>Error Message</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -40,13 +40,19 @@ ...@@ -40,13 +40,19 @@
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Fail action does nothing but put an error message into workflow history</string> </value> <value> <string>Fail action does nothing but put an error message into workflow history</string> </value>
</item> </item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>guard_expression</string> </key> <key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value> <value> <string>python: True</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>11</string> </value> <value> <string>fail_action_transition</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
...@@ -68,7 +74,30 @@ ...@@ -68,7 +74,30 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Fail_action</string> </value> <value> <string>Fail Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<list>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</list>
</value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -62,11 +62,13 @@ raise ValidationFailed ("foo error")\n ...@@ -62,11 +62,13 @@ raise ValidationFailed ("foo error")\n
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>raise a validation failure.</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>22</string> </value> <value> <string>fail_message</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>19</string> </value> <value> <string>history_variable</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<key> <string>after_script_id</string> </key> <key> <string>after_script_id</string> </key>
<value> <value>
<tuple> <tuple>
<string>invalidate</string> <string>invalidate_transition</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -40,13 +40,19 @@ ...@@ -40,13 +40,19 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>guard_expression</string> </key> <key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value> <value> <string>python: True</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>14</string> </value> <value> <string>invalidate_action_transition</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
...@@ -70,6 +76,29 @@ ...@@ -70,6 +76,29 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Invalidate Action</string> </value> <value> <string>Invalidate Action</string> </value>
</item> </item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<list>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</list>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/portal_workflow/4/7</string> <string>destination/portal_workflow/testing_workflow_workflow/invalidated_state</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>12</string> </value> <value> <string>invalidate_transition</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
......
...@@ -12,23 +12,6 @@ ...@@ -12,23 +12,6 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>destination_title_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item> <item>
<key> <string>_mt_index</string> </key> <key> <string>_mt_index</string> </key>
<value> <value>
...@@ -45,8 +28,10 @@ ...@@ -45,8 +28,10 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/portal_workflow/4/2</string> <string>destination/portal_workflow/testing_workflow_workflow/validate_transition</string>
<string>destination/portal_workflow/4/13</string> <string>destination/portal_workflow/testing_workflow_workflow/validate_action_transition</string>
<string>destination/portal_workflow/testing_workflow_workflow/delete_transition</string>
<string>destination/portal_workflow/testing_workflow_workflow/delete_action_transition</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -56,17 +41,9 @@ ...@@ -56,17 +41,9 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>destination_title_list</string> </key>
<value>
<tuple>
<string>validate</string>
</tuple>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>1</string> </value> <value> <string>invalidated_state</string> </value>
</item> </item>
<item> <item>
<key> <string>index</string> </key> <key> <string>index</string> </key>
...@@ -80,11 +57,11 @@ ...@@ -80,11 +57,11 @@
</item> </item>
<item> <item>
<key> <string>ref</string> </key> <key> <string>ref</string> </key>
<value> <string>draft</string> </value> <value> <string>invalidated</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Draft</string> </value> <value> <string>Invalidated</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>3</string> </value> <value> <string>portal_type_variable</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>20</string> </value> <value> <string>time_variable</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<key> <string>after_script_id</string> </key> <key> <string>after_script_id</string> </key>
<value> <value>
<tuple> <tuple>
<string>validate</string> <string>validate_transition</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -34,19 +34,39 @@ ...@@ -34,19 +34,39 @@
<tuple/> <tuple/>
</value> </value>
</item> </item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <value>
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>groups</string> </key>
<value> <string>()</string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>guard_expression</string> </key> <key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value> <value> <string>python: True</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>13</string> </value> <value> <string>validate_action_transition</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value> <string>()</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
...@@ -60,16 +80,48 @@ ...@@ -60,16 +80,48 @@
<key> <string>role</string> </key> <key> <string>role</string> </key>
<value> <value>
<tuple> <tuple>
<string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assignee</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
</item> </item>
<item>
<key> <string>role_list</string> </key>
<value>
<tuple>
<string>Associate</string>
<string>Author</string>
</tuple>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Validate Action</string> </value> <value> <string>Validate Action</string> </value>
</item> </item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<list>
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
</list>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/portal_workflow/4/8</string> <string>destination/portal_workflow/testing_workflow_workflow/validated_state</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>2</string> </value> <value> <string>validate_transition</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/portal_workflow/4/12</string> <string>destination/portal_workflow/testing_workflow_workflow/invalidate_transition</string>
<string>destination/portal_workflow/4/14</string> <string>destination/portal_workflow/testing_workflow_workflow/invalidate_action_transition</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>8</string> </value> <value> <string>validated_state</string> </value>
</item> </item>
<item> <item>
<key> <string>index</string> </key> <key> <string>index</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PermissionRoles" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>base_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>base_id</string> </key>
<value> <string>cell</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cell_0_6</string> </value>
</item>
<item>
<key> <string>is_selected</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>PermissionRoles</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PermissionRoles" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>base_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>base_id</string> </key>
<value> <string>cell</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cell_1_6</string> </value>
</item>
<item>
<key> <string>is_selected</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>PermissionRoles</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PermissionRoles" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>base_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>base_id</string> </key>
<value> <string>cell</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cell_2_6</string> </value>
</item>
<item>
<key> <string>is_selected</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>PermissionRoles</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PermissionRoles" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>base_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>base_id</string> </key>
<value> <string>cell</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cell_3_6</string> </value>
</item>
<item>
<key> <string>is_selected</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>PermissionRoles</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment