Commit 0905b814 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

erp5_workflow_test_data: fix the uncompatibility of copy-paste...

erp5_workflow_test_data: fix the uncompatibility of copy-paste testing_workflow which comes from workflow module to portal_workflow.
parent 0d749d03
......@@ -12,23 +12,6 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</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>
<key> <string>_mt_index</string> </key>
<value>
......@@ -76,14 +59,6 @@
<key> <string>portal_type</string> </key>
<value> <string>Workflow</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>testing_workflow</string> </value>
</item>
<item>
<key> <string>state_base_category</string> </key>
<value> <string>validation_state</string> </value>
</item>
<item>
<key> <string>state_variable</string> </key>
<value> <string>validation_state</string> </value>
......@@ -92,14 +67,6 @@
<key> <string>title</string> </key>
<value> <string>Testing Workflow</string> </value>
</item>
<item>
<key> <string>workflow_managed_permission</string> </key>
<value>
<tuple>
<string>Access contents information</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -72,10 +72,6 @@ document.setDescription("After script was executed.")\n
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>after_script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>After Script</string> </value>
......
......@@ -72,10 +72,6 @@ document.setDescription("Before script was executed.")\n
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>before_script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Before Script</string> </value>
......
......@@ -74,10 +74,6 @@ raise ValidationFailed ("foo error")\n
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>fail_message</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Fail Message</string> </value>
......
......@@ -48,10 +48,6 @@
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>deleted</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Deleted</string> </value>
......
......@@ -57,10 +57,6 @@
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
......
......@@ -59,10 +59,6 @@
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>invalidated</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Invalidated</string> </value>
......
......@@ -57,10 +57,6 @@
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>validated</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Validated</string> </value>
......
......@@ -31,10 +31,6 @@
<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>
......
......@@ -31,10 +31,6 @@
<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>
......
......@@ -31,10 +31,6 @@
<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>
......
......@@ -31,10 +31,6 @@
<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>
......
......@@ -66,10 +66,6 @@
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>delete</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
......
......@@ -36,12 +36,6 @@
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>delete_action</string> </value>
......@@ -52,12 +46,6 @@
<none/>
</value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
......@@ -70,10 +58,6 @@
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>delete_action</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
......@@ -88,29 +72,6 @@
<key> <string>title</string> </key>
<value> <string>Delete 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>
</dictionary>
</pickle>
</record>
......
......@@ -42,12 +42,8 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Fail action does nothing but put an error message into workflow history</string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<none/>
</value>
</item>
<item>
......@@ -62,10 +58,6 @@
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>fail_action</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
......@@ -80,29 +72,6 @@
<key> <string>title</string> </key>
<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>
</dictionary>
</pickle>
</record>
......
......@@ -68,10 +68,6 @@
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>invalidate</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
......
......@@ -18,7 +18,7 @@
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=invalidate_action</string> </value>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=transition_invalidate_action</string> </value>
</item>
<item>
<key> <string>after_script_id</string> </key>
......@@ -62,10 +62,6 @@
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>invalidate_action</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
......@@ -80,10 +76,6 @@
<key> <string>title</string> </key>
<value> <string>Invalidate Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
......@@ -92,18 +84,7 @@
<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>
</record>
</ZopeData>
......@@ -68,10 +68,6 @@
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>validate</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
......
......@@ -18,7 +18,7 @@
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=validate_action</string> </value>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=transition_validate_action</string> </value>
</item>
<item>
<key> <string>after_script_id</string> </key>
......@@ -34,12 +34,6 @@
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>validate_action</string> </value>
......@@ -50,10 +44,6 @@
<none/>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value> <string>()</string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
......@@ -68,45 +58,24 @@
<key> <string>id</string> </key>
<value> <string>transition_validate_action</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value> <string>()</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>validate_action</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>role_list</string> </key>
<value>
<tuple>
<string>Associate</string>
<string>Author</string>
</tuple>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Validate Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
......@@ -115,18 +84,7 @@
<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>
</record>
</ZopeData>
......@@ -6,10 +6,6 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>automatic_update</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>default_expr</string> </key>
<value> <string>transition/getId|nothing</string> </value>
......@@ -32,26 +28,14 @@
<key> <string>for_catalog</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>for_status</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>variable_action</string> </value>
</item>
<item>
<key> <string>initial_value</string> </key>
<value> <string>python: None</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Variable</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>action</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
......
......@@ -36,10 +36,6 @@
<key> <string>portal_type</string> </key>
<value> <string>Variable</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>actor</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
......
......@@ -36,10 +36,6 @@
<key> <string>portal_type</string> </key>
<value> <string>Variable</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>comment</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
......
......@@ -32,10 +32,6 @@
<key> <string>portal_type</string> </key>
<value> <string>Variable</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>error_message</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
......
......@@ -40,10 +40,6 @@
<key> <string>portal_type</string> </key>
<value> <string>Variable</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>history</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
......
......@@ -32,10 +32,6 @@
<key> <string>portal_type</string> </key>
<value> <string>Variable</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>portal_type</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
......
......@@ -36,10 +36,6 @@
<key> <string>portal_type</string> </key>
<value> <string>Variable</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>time</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
......
......@@ -20,7 +20,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
erp5workflow_test_module/view?validation_state=draft&local_roles:list=Assignee&local_roles:list=Assignor&reset=1
erp5workflow_test_module/view?validation_state=state_draft&local_roles:list=Assignee&local_roles:list=Assignor&reset=1
]]></string> </value>
</item>
......@@ -32,12 +32,6 @@ erp5workflow_test_module/view?validation_state=draft&local_roles:list=Assignee&l
<key> <string>description</string> </key>
<value> <string>Document to Validate</string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>worklist_1_draft_document_list</string> </value>
......@@ -60,7 +54,7 @@ erp5workflow_test_module/view?validation_state=draft&local_roles:list=Assignee&l
<key> <string>matched_validation_state</string> </key>
<value>
<tuple>
<string>draft_state</string>
<string>state_draft</string>
</tuple>
</value>
</item>
......@@ -68,10 +62,6 @@ erp5workflow_test_module/view?validation_state=draft&local_roles:list=Assignee&l
<key> <string>portal_type</string> </key>
<value> <string>Worklist</string> </value>
</item>
<item>
<key> <string>ref</string> </key>
<value> <string>1_draft_document_list</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
......@@ -85,30 +75,6 @@ erp5workflow_test_module/view?validation_state=draft&local_roles:list=Assignee&l
<key> <string>title</string> </key>
<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>
</dictionary>
</pickle>
</record>
......
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